(self)
| 951 | # XXX Also check os._exit() (via a subprocess)? |
| 952 | |
| 953 | def test_plain_exception(self): |
| 954 | self.assert_run_failed_msg(Exception, 'spam', """ |
| 955 | raise Exception("spam") |
| 956 | """) |
| 957 | |
| 958 | def test_invalid_syntax(self): |
| 959 | script = dedent(""" |
nothing calls this directly
no test coverage detected