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:
commit
d91fecdb5a
2 changed files with 2 additions and 0 deletions
0
news/a9b36e28-beec-4a37-97e1-6dc02ff1eb2d.trivial.rst
Normal file
0
news/a9b36e28-beec-4a37-97e1-6dc02ff1eb2d.trivial.rst
Normal 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()
|
||||
|
|
Loading…
Reference in a new issue