(self)
| 245 | |
| 246 | class TestFutureImports(TestCase): |
| 247 | def test_repl(self): |
| 248 | repl = create_repl() |
| 249 | with captured_output() as (out, err): |
| 250 | repl.push("1 / 2") |
| 251 | self.assertEqual(out.getvalue(), "0.5\n") |
| 252 | |
| 253 | def test_interactive(self): |
| 254 | interp = code.InteractiveInterpreter(locals={}) |
nothing calls this directly
no test coverage detected