From 006d6d3ffe0dcb0c4aed8633d754b00ad30270d6 2013-01-17 22:15:38 From: Thomas Kluyver Date: 2013-01-17 22:15:38 Subject: [PATCH] Fix unrelated test. nose.tools no longer has a fail() function --- diff --git a/IPython/core/tests/test_magic.py b/IPython/core/tests/test_magic.py index fafdbf9..4a7c8fb 100644 --- a/IPython/core/tests/test_magic.py +++ b/IPython/core/tests/test_magic.py @@ -827,7 +827,7 @@ def test_edit_interactive(): except code.InteractivelyDefined as e: nt.assert_equal(e.index, n) else: - nt.fail("Should have raised InteractivelyDefined") + raise AssertionError("Should have raised InteractivelyDefined") def test_edit_cell():