Skip to content

Commit

Permalink
tests: adopt pytest v8
Browse files Browse the repository at this point in the history
  • Loading branch information
pwwang committed Mar 14, 2024
1 parent e46490d commit 4da19d5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ arrow = ["datar-arrow"]
# polars = ["datar-polars"]

[tool.poetry.group.dev.dependencies]
pytest = "^7"
pytest = "^8.1"
pytest-cov = "^4"
six = "^1.16"
numpy = "^1.17"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def operate(op, x, y=None):
return None


def setup():
def setup_function(function):
plugin.register(TestPlugin1)
plugin.register(TestPlugin2)
plugin.get_plugin("testplugin1").disable()
Expand Down

0 comments on commit 4da19d5

Please sign in to comment.