##// END OF EJS Templates
darker
Nikita Kniazev -
Show More
@@ -48,6 +48,9 b' class TestFileToRun(tt.TempFileMixin, unittest.TestCase):'
48 src = "True\n"
48 src = "True\n"
49 self.mktmp(src)
49 self.mktmp(src)
50
50
51 out, err = tt.ipexec(self.fname, options=['-i'],
51 out, err = tt.ipexec(
52 commands=['"__file__" in globals()', 'print(123)', 'exit()'])
52 self.fname,
53 options=["-i"],
54 commands=['"__file__" in globals()', "print(123)", "exit()"],
55 )
53 assert "False" in out, f"Subprocess stderr:\n{err}\n-----"
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