(self)
| 69 | assert "testAddExec_a" in self.front_end.get_namespace() |
| 70 | |
| 71 | def testAddExec_3(self): |
| 72 | assert "testAddExec_x" not in self.front_end.get_namespace() |
| 73 | self.add_exec("if True:\n testAddExec_x = 10\n\n") |
| 74 | assert "testAddExec_x" in self.front_end.get_namespace() |
| 75 | eq_(self.front_end.get_namespace()["testAddExec_x"], 10) |
| 76 | |
| 77 | def test_get_namespace(self): |
| 78 | assert "testGetNamespace_a" not in self.front_end.get_namespace() |
nothing calls this directly
no test coverage detected