We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d100820 commit 616e095Copy full SHA for 616e095
pandas/conftest.py
@@ -1162,7 +1162,7 @@ def datapath(strict_data_files: str) -> Callable[..., str]:
1162
Raises
1163
------
1164
ValueError
1165
- If the path doesn't exist and the --no-strict-data-files option is set.
+ If the path doesn't exist and the --no-strict-data-files option is not set.
1166
"""
1167
BASE_PATH = os.path.join(os.path.dirname(__file__), "tests")
1168
@@ -1171,7 +1171,7 @@ def deco(*args):
1171
if not os.path.exists(path):
1172
if strict_data_files:
1173
raise ValueError(
1174
- f"Could not find file {path} and --no-strict-data-files is notset."
+ f"Could not find file {path} and --no-strict-data-files is not set."
1175
)
1176
pytest.skip(f"Could not find {path}.")
1177
return path
0 commit comments