Show More
@@ -414,6 +414,11 b' class TestSystemRaw(unittest.TestCase):' | |||||
414 | """ |
|
414 | """ | |
415 | cmd = ur'''python -c "'åäö'" ''' |
|
415 | cmd = ur'''python -c "'åäö'" ''' | |
416 | ip.system_raw(cmd) |
|
416 | ip.system_raw(cmd) | |
|
417 | ||||
|
418 | def test_exit_code(self): | |||
|
419 | """Test that the exit code is parsed correctly.""" | |||
|
420 | ip.system_raw('exit 1') | |||
|
421 | self.assertEqual(ip.user_ns['_exit_code'], 1) | |||
417 |
|
422 | |||
418 | class TestModules(unittest.TestCase, tt.TempFileMixin): |
|
423 | class TestModules(unittest.TestCase, tt.TempFileMixin): | |
419 | def test_extraneous_loads(self): |
|
424 | def test_extraneous_loads(self): |
General Comments 0
You need to be logged in to leave comments.
Login now