Show More
@@ -50,8 +50,4 b' class TestFileToRun(tt.TempFileMixin, unittest.TestCase):' | |||
|
50 | 50 | |
|
51 | 51 | out, err = tt.ipexec(self.fname, options=['-i'], |
|
52 | 52 | commands=['"__file__" in globals()', 'print(123)', 'exit()']) |
|
53 | if 'False' not in out: | |
|
54 | print("Subprocess stderr:") | |
|
55 | print(err) | |
|
56 | print('-----') | |
|
57 | raise AssertionError("'False' not found in %r" % out) | |
|
53 | assert "False" in out, f"Subprocess stderr:\n{err}\n-----" |
General Comments 0
You need to be logged in to leave comments.
Login now