Test nested imports from the stdlib
()
| 29 | |
| 30 | |
| 31 | def test_import_nested(): |
| 32 | "Test nested imports from the stdlib" |
| 33 | from os import path |
| 34 | |
| 35 | path2 = import_item("os.path") |
| 36 | assert path is path2 |
| 37 | |
| 38 | |
| 39 | def test_import_raises(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…