We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68273a7 commit 302643dCopy full SHA for 302643d
pandas/tests/scripts/test_validate_docstrings.py
@@ -471,6 +471,9 @@ def import_scripts(self):
471
from validate_docstrings import validate_one
472
globals()[global_validate_one] = validate_one
473
except ImportError:
474
+ # Remove addition to `sys.path`
475
+ sys.path.pop()
476
+
477
# Import will fail if the pandas installation is not inplace.
478
raise pytest.skip("pandas/scripts directory does not exist")
479
0 commit comments