MCPcopy Create free account
hub / github.com/ipython/ipython / test_import_plain

Function test_import_plain

IPython/utils/tests/test_importstring.py:22–26  ·  view source on GitHub ↗

Test simple imports

()

Source from the content-addressed store, hash-verified

20#-----------------------------------------------------------------------------
21
22def test_import_plain():
23 "Test simple imports"
24 import os
25 os2 = import_item('os')
26 nt.assert_true(os is os2)
27
28
29def test_import_nested():

Callers

nothing calls this directly

Calls 1

import_itemFunction · 0.90

Tested by

no test coverage detected