Thanks to visit codestin.com Credit goes to github.com
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 f6cc468 commit dbd15bdCopy full SHA for dbd15bd
1 file changed
tests/test_magic.py
@@ -847,6 +847,8 @@ def test_prun_quotes():
847
848
def test_extension():
849
# Debugging information for failures of this test
850
+ daft_path = os.path.join(os.path.dirname(__file__), "fake_ext_dir")
851
+ assert daft_path not in sys.path
852
print('sys.path:')
853
for p in sys.path:
854
print(" ", p)
@@ -857,7 +859,6 @@ def test_extension():
857
859
858
860
with pytest.raises(ModuleNotFoundError):
861
_ip.run_line_magic("load_ext", "daft_extension")
- daft_path = os.path.join(os.path.dirname(__file__), "fake_ext_dir")
862
sys.path.insert(0, daft_path)
863
import daft_extension
864
try:
0 commit comments