(self)
| 231 | assert_python_ok('-m', 'unittest', "./test/test_longexp.py") |
| 232 | |
| 233 | def test_run_code(self): |
| 234 | # Test expected operation of the '-c' switch |
| 235 | # Switch needs an argument |
| 236 | assert_python_failure('-c') |
| 237 | # Check we get an error for an uncaught exception |
| 238 | assert_python_failure('-c', 'raise Exception') |
| 239 | # All good if execution is successful |
| 240 | assert_python_ok('-c', 'pass') |
| 241 | |
| 242 | @unittest.skipUnless(os_helper.FS_NONASCII, 'need os_helper.FS_NONASCII') |
| 243 | def test_non_ascii(self): |
nothing calls this directly
no test coverage detected