Skip to content

Commit 616e095

Browse files
lithomas1mroeschke
andauthored
Apply suggestions from code review
Co-authored-by: Matthew Roeschke <[email protected]>
1 parent d100820 commit 616e095

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/conftest.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,7 @@ def datapath(strict_data_files: str) -> Callable[..., str]:
11621162
Raises
11631163
------
11641164
ValueError
1165-
If the path doesn't exist and the --no-strict-data-files option is set.
1165+
If the path doesn't exist and the --no-strict-data-files option is not set.
11661166
"""
11671167
BASE_PATH = os.path.join(os.path.dirname(__file__), "tests")
11681168

@@ -1171,7 +1171,7 @@ def deco(*args):
11711171
if not os.path.exists(path):
11721172
if strict_data_files:
11731173
raise ValueError(
1174-
f"Could not find file {path} and --no-strict-data-files is notset."
1174+
f"Could not find file {path} and --no-strict-data-files is not set."
11751175
)
11761176
pytest.skip(f"Could not find {path}.")
11771177
return path

0 commit comments

Comments
 (0)