Show More
@@ -67,7 +67,7 b' def doctest_run_builtins():' | |||||
67 |
|
67 | |||
68 | In [6]: t1 = type(__builtins__) |
|
68 | In [6]: t1 = type(__builtins__) | |
69 |
|
69 | |||
70 |
In [7]: %run |
|
70 | In [7]: %run $fname | |
71 |
|
71 | |||
72 | In [7]: f.close() |
|
72 | In [7]: f.close() | |
73 |
|
73 | |||
@@ -101,7 +101,7 b' class TestMagicRunPass(tt.TempFileMixin):' | |||||
101 | _ip = get_ipython() |
|
101 | _ip = get_ipython() | |
102 | # This fails on Windows if self.tmpfile.name has spaces or "~" in it. |
|
102 | # This fails on Windows if self.tmpfile.name has spaces or "~" in it. | |
103 | # See below and ticket https://bugs.launchpad.net/bugs/366353 |
|
103 | # See below and ticket https://bugs.launchpad.net/bugs/366353 | |
104 |
_ip.magic('run |
|
104 | _ip.magic('run %s' % self.fname) | |
105 |
|
105 | |||
106 | def test_builtins_id(self): |
|
106 | def test_builtins_id(self): | |
107 | """Check that %run doesn't damage __builtins__ """ |
|
107 | """Check that %run doesn't damage __builtins__ """ |
General Comments 0
You need to be logged in to leave comments.
Login now