Skip to content

Commit

Permalink
Replace in-tree test fixture with per-dir conftest
Browse files Browse the repository at this point in the history
Pytest automatically load `conftest.py` files from directory tests,
so it is not necessary to use an in-tree pytest plugin for that.

This issue was considered a blocker in
pypa#2318.
  • Loading branch information
abravalheri committed Jan 14, 2022
1 parent a9e14a9 commit b08864c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
import pytest


pytest_plugins = 'setuptools.tests.fixtures'


def pytest_addoption(parser):
parser.addoption(
"--package_name", action="append", default=[],
Expand Down
File renamed without changes.

0 comments on commit b08864c

Please sign in to comment.