(self)
| 73 | assert "np = mod.lazy_import('numpy')" in str(script) |
| 74 | |
| 75 | def test_import_from(self): |
| 76 | script = Script() |
| 77 | script.add_import("example", frm="mod") |
| 78 | assert "from mod import example" in str(script) |
| 79 | |
| 80 | def test_import_duplicate_froms(self): |
| 81 | script = Script() |
nothing calls this directly
no test coverage detected