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 4d873e0 commit 6ffb3d3Copy full SHA for 6ffb3d3
ipykernel/compiler.py
@@ -55,7 +55,7 @@ def _convert_to_long_pathname(filename):
55
filename = buf.value
56
return filename
57
58
- # test that it works
+ # test that it works so if there are any issues we fail just once here
59
_convert_to_long_pathname(__file__)
60
except:
61
pass
ipykernel/tests/test_debugger.py
@@ -271,3 +271,9 @@ def test_rich_inspect_at_breakpoint(kernel_with_debug):
271
)
272
273
assert reply["body"]["data"] == {"text/plain": locals_[0]["value"]}
274
+
275
276
+def test_convert_to_long_pathname():
277
+ if sys.platform == 'win32':
278
+ from ipykernel.compiler import _convert_to_long_pathname
279
+ _convert_to_long_pathname(__file__)
0 commit comments