Skip to content

Commit

Permalink
Merge pull request #2740 from jenshnielsen/rnameerror
Browse files Browse the repository at this point in the history
Fix tests for rmagic (KeyError -> NameError).

Caused by #2737.
  • Loading branch information
bfroehle committed Jan 3, 2013
2 parents 840d0ea + 10086a1 commit 5cb9df3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IPython/extensions/tests/test_rmagic.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def test_rmagic_localscope():
nt.assert_equal(result, 2)

nt.assert_raises(
KeyError,
NameError,
ip.run_line_magic,
"R",
"-i var_not_defined 1+1")

0 comments on commit 5cb9df3

Please sign in to comment.