Skip to content

Commit d91fecd

Browse files
authored
Merge pull request #10436 from jdufresne/fixture-data
Set TestData.__test__ to False to avoid pytest discovery
2 parents 0442875 + 8b24a66 commit d91fecd

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

news/a9b36e28-beec-4a37-97e1-6dc02ff1eb2d.trivial.rst

Whitespace-only changes.

tests/lib/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ class TestData:
150150
data into a directory and operating on the copied data.
151151
"""
152152

153+
__test__ = False
154+
153155
def __init__(self, root, source=None):
154156
self.source = source or DATA_DIR
155157
self.root = Path(root).resolve()

0 commit comments

Comments
 (0)