##// END OF EJS Templates
darker
Nikita Kniazev -
Show More
@@ -48,6 +48,9 b' class TestFileToRun(tt.TempFileMixin, unittest.TestCase):'
48 48 src = "True\n"
49 49 self.mktmp(src)
50 50
51 out, err = tt.ipexec(self.fname, options=['-i'],
52 commands=['"__file__" in globals()', 'print(123)', 'exit()'])
51 out, err = tt.ipexec(
52 self.fname,
53 options=["-i"],
54 commands=['"__file__" in globals()', "print(123)", "exit()"],
55 )
53 56 assert "False" in out, f"Subprocess stderr:\n{err}\n-----"
General Comments 0
You need to be logged in to leave comments. Login now