Show More
@@ -1,6 +1,6 b'' | |||||
1 | """Minimal script to reproduce our nasty reference counting bug. |
|
1 | """Minimal script to reproduce our nasty reference counting bug. | |
2 |
|
2 | |||
3 |
The problem is related to https:// |
|
3 | The problem is related to https://github.com/ipython/ipython/issues/141 | |
4 |
|
4 | |||
5 | The original fix for that appeared to work, but John D. Hunter found a |
|
5 | The original fix for that appeared to work, but John D. Hunter found a | |
6 | matplotlib example which, when run twice in a row, would break. The problem |
|
6 | matplotlib example which, when run twice in a row, would break. The problem | |
@@ -9,8 +9,8 b' were references held by open figures to internals of Tkinter.' | |||||
9 | This code reproduces the problem that John saw, without matplotlib. |
|
9 | This code reproduces the problem that John saw, without matplotlib. | |
10 |
|
10 | |||
11 | This script is meant to be called by other parts of the test suite that call it |
|
11 | This script is meant to be called by other parts of the test suite that call it | |
12 |
via %run as if it were executed interactively by the user. |
|
12 | via %run as if it were executed interactively by the user. As of 2011-05-29, | |
13 |
test_ |
|
13 | test_run.py calls it. | |
14 | """ |
|
14 | """ | |
15 |
|
15 | |||
16 | #----------------------------------------------------------------------------- |
|
16 | #----------------------------------------------------------------------------- |
@@ -37,7 +37,7 b' def test_prefilter():' | |||||
37 |
|
37 | |||
38 | @dec.parametric |
|
38 | @dec.parametric | |
39 | def test_autocall_binops(): |
|
39 | def test_autocall_binops(): | |
40 |
"""See https:// |
|
40 | """See https://github.com/ipython/ipython/issues/81""" | |
41 | ip.magic('autocall 2') |
|
41 | ip.magic('autocall 2') | |
42 | f = lambda x: x |
|
42 | f = lambda x: x | |
43 | ip.user_ns['f'] = f |
|
43 | ip.user_ns['f'] = f |
@@ -27,7 +27,7 b' from IPython.testing import tools as tt' | |||||
27 |
|
27 | |||
28 | def doctest_refbug(): |
|
28 | def doctest_refbug(): | |
29 | """Very nasty problem with references held by multiple runs of a script. |
|
29 | """Very nasty problem with references held by multiple runs of a script. | |
30 | See: https://bugs.launchpad.net/ipython/+bug/269966 |
|
30 | See: https://github.com/ipython/ipython/issues/141 | |
31 |
|
31 | |||
32 | In [1]: _ip.clear_main_mod_cache() |
|
32 | In [1]: _ip.clear_main_mod_cache() | |
33 | # random |
|
33 | # random | |
@@ -157,8 +157,6 b' class TestMagicRunSimple(tt.TempFileMixin):' | |||||
157 | def test_obj_del(self): |
|
157 | def test_obj_del(self): | |
158 | """Test that object's __del__ methods are called on exit.""" |
|
158 | """Test that object's __del__ methods are called on exit.""" | |
159 |
|
159 | |||
160 | # This test is known to fail on win32. |
|
|||
161 | # See ticket https://bugs.launchpad.net/bugs/366334 |
|
|||
162 | src = ("class A(object):\n" |
|
160 | src = ("class A(object):\n" | |
163 | " def __del__(self):\n" |
|
161 | " def __del__(self):\n" | |
164 | " print 'object A deleted'\n" |
|
162 | " print 'object A deleted'\n" |
@@ -180,7 +180,7 b' def make_exclude():' | |||||
180 | exclusions.append(ipjoin('lib', 'inputhookgtk')) |
|
180 | exclusions.append(ipjoin('lib', 'inputhookgtk')) | |
181 |
|
181 | |||
182 | # These have to be skipped on win32 because the use echo, rm, cd, etc. |
|
182 | # These have to be skipped on win32 because the use echo, rm, cd, etc. | |
183 | # See ticket https://bugs.launchpad.net/bugs/366982 |
|
183 | # See ticket https://github.com/ipython/ipython/issues/87 | |
184 | if sys.platform == 'win32': |
|
184 | if sys.platform == 'win32': | |
185 | exclusions.append(ipjoin('testing', 'plugin', 'test_exampleip')) |
|
185 | exclusions.append(ipjoin('testing', 'plugin', 'test_exampleip')) | |
186 | exclusions.append(ipjoin('testing', 'plugin', 'dtexample')) |
|
186 | exclusions.append(ipjoin('testing', 'plugin', 'dtexample')) |
General Comments 0
You need to be logged in to leave comments.
Login now