From 19abe665b845a2a73b743db793da8f7b558c5f64 2010-10-16 17:59:28 From: Thomas Kluyver Date: 2010-10-16 17:59:28 Subject: [PATCH] Make test work (i.e. it now fails, as expected). --- diff --git a/IPython/core/tests/test_run.py b/IPython/core/tests/test_run.py index b4728c3..f129e97 100644 --- a/IPython/core/tests/test_run.py +++ b/IPython/core/tests/test_run.py @@ -88,12 +88,13 @@ def doctest_reset_del(): In [2]: class A(object): ...: def __del__(self): - ...: str("Hi") + ...: print str("Hi") ...: In [3]: a = A() In [4]: get_ipython().reset() + Hi In [5]: 1+1 Out[5]: 2