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