Show More
@@ -23,14 +23,14 b' def test_import_plain():' | |||||
23 | "Test simple imports" |
|
23 | "Test simple imports" | |
24 | import os |
|
24 | import os | |
25 | os2 = import_item('os') |
|
25 | os2 = import_item('os') | |
26 |
nt.assert_ |
|
26 | nt.assert_true(os is os2) | |
27 |
|
27 | |||
28 |
|
28 | |||
29 | def test_import_nested(): |
|
29 | def test_import_nested(): | |
30 | "Test nested imports from the stdlib" |
|
30 | "Test nested imports from the stdlib" | |
31 | from os import path |
|
31 | from os import path | |
32 | path2 = import_item('os.path') |
|
32 | path2 = import_item('os.path') | |
33 |
nt.assert_ |
|
33 | nt.assert_true(path is path2) | |
34 |
|
34 | |||
35 |
|
35 | |||
36 | def test_import_raises(): |
|
36 | def test_import_raises(): |
General Comments 0
You need to be logged in to leave comments.
Login now