1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Merge pull request #10436 from jdufresne/fixture-data

Set TestData.__test__ to False to avoid pytest discovery
This commit is contained in:
Tzu-ping Chung 2021-09-28 21:50:37 +08:00 committed by GitHub
commit d91fecdb5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -150,6 +150,8 @@ class TestData:
data into a directory and operating on the copied data.
"""
__test__ = False
def __init__(self, root, source=None):
self.source = source or DATA_DIR
self.root = Path(root).resolve()