Skip to content

Commit 4da19d5

Browse files
committed
tests: adopt pytest v8
1 parent e46490d commit 4da19d5

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

poetry.lock

+9-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ arrow = ["datar-arrow"]
2929
# polars = ["datar-polars"]
3030

3131
[tool.poetry.group.dev.dependencies]
32-
pytest = "^7"
32+
pytest = "^8.1"
3333
pytest-cov = "^4"
3434
six = "^1.16"
3535
numpy = "^1.17"

tests/test_plugin.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def operate(op, x, y=None):
5757
return None
5858

5959

60-
def setup():
60+
def setup_function(function):
6161
plugin.register(TestPlugin1)
6262
plugin.register(TestPlugin2)
6363
plugin.get_plugin("testplugin1").disable()

0 commit comments

Comments
 (0)