(self)
| 520 | self.id = _interpreters.create() |
| 521 | |
| 522 | def test_success(self): |
| 523 | script, file = _captured_script('print("it worked!", end="")') |
| 524 | with file: |
| 525 | _interpreters.run_string(self.id, script) |
| 526 | out = file.read() |
| 527 | |
| 528 | self.assertEqual(out, 'it worked!') |
| 529 | |
| 530 | def test_in_thread(self): |
| 531 | script, file = _captured_script('print("it worked!", end="")') |
nothing calls this directly
no test coverage detected