Show More
@@ -44,6 +44,9 b' class TestFileToRun(unittest.TestCase, tt.TempFileMixin):' | |||
|
44 | 44 | err = SQLITE_NOT_AVAILABLE_ERROR if sqlite_err_maybe else None |
|
45 | 45 | tt.ipexec_validate(self.fname, self.fname, err) |
|
46 | 46 | |
|
47 | # The commands option to ipexec_validate doesn't work on Windows, and it | |
|
48 | # doesn't seem worth fixing | |
|
49 | @dec.skip_win32 | |
|
47 | 50 | def test_py_script_file_attribute_interactively(self): |
|
48 | 51 | """Test that `__file__` is not set after `ipython -i file.py`""" |
|
49 | 52 | src = "True\n" |
@@ -53,6 +56,7 b' class TestFileToRun(unittest.TestCase, tt.TempFileMixin):' | |||
|
53 | 56 | tt.ipexec_validate(self.fname, 'False', err, options=['-i'], |
|
54 | 57 | commands=['"__file__" in globals()', 'exit()']) |
|
55 | 58 | |
|
59 | @dec.skip_win32 | |
|
56 | 60 | @dec.skipif(PY3) |
|
57 | 61 | def test_py_script_file_compiler_directive(self): |
|
58 | 62 | """Test `__future__` compiler directives with `ipython -i file.py`""" |
General Comments 0
You need to be logged in to leave comments.
Login now