Show More
@@ -42,12 +42,12 b' def test_alias_args_error():' | |||||
42 |
|
42 | |||
43 | def test_alias_args_commented(): |
|
43 | def test_alias_args_commented(): | |
44 | """Check that alias correctly ignores 'commented out' args""" |
|
44 | """Check that alias correctly ignores 'commented out' args""" | |
45 |
_ip.magic('alias commetarg echo this is %%s a |
|
45 | _ip.magic('alias commetarg echo this is %%s a commented out arg') | |
46 |
|
46 | |||
47 | with capture_output() as cap: |
|
47 | with capture_output() as cap: | |
48 | _ip.run_cell('commetarg') |
|
48 | _ip.run_cell('commetarg') | |
49 |
|
49 | |||
50 |
nt.assert_equal(cap.stdout, 'this is %s a |
|
50 | nt.assert_equal(cap.stdout, 'this is %s a commented out arg') | |
51 |
|
51 | |||
52 | def test_alias_args_commented_nargs(): |
|
52 | def test_alias_args_commented_nargs(): | |
53 | """Check that alias correctly counts args, excluding those commented out""" |
|
53 | """Check that alias correctly counts args, excluding those commented out""" |
General Comments 0
You need to be logged in to leave comments.
Login now