We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a7e1f2 commit 022a11fCopy full SHA for 022a11f
pandas/conftest.py
@@ -153,8 +153,10 @@ def datapath(request):
153
ValueError
154
If the path doesn't exist and the --strict-data-files option is set.
155
"""
156
+ BASE_PATH = os.path.join(os.path.dirname(__file__), 'tests')
157
+
158
def deco(*args):
- path = os.path.join('pandas', 'tests', *args)
159
+ path = os.path.join(BASE_PATH, *args)
160
if not os.path.exists(path):
161
if request.config.getoption("--strict-data-files"):
162
msg = "Could not find file {} and --strict-data-files is set."
0 commit comments