Show More
@@ -17,9 +17,6 b' Authors' | |||||
17 | # Imports |
|
17 | # Imports | |
18 | #----------------------------------------------------------------------------- |
|
18 | #----------------------------------------------------------------------------- | |
19 |
|
19 | |||
20 | # third party |
|
|||
21 | import nose.tools as nt |
|
|||
22 |
|
||||
23 | from IPython.testing.decorators import skip_iptest_but_not_pytest |
|
20 | from IPython.testing.decorators import skip_iptest_but_not_pytest | |
24 |
|
21 | |||
25 | # our own |
|
22 | # our own | |
@@ -65,7 +62,7 b' def test_parse_sample(style):' | |||||
65 | buf.seek(0) |
|
62 | buf.seek(0) | |
66 | f1 = buf.read() |
|
63 | f1 = buf.read() | |
67 |
|
64 | |||
68 |
|
|
65 | assert "ERROR" not in f1 | |
69 |
|
66 | |||
70 |
|
67 | |||
71 | @skip_iptest_but_not_pytest |
|
68 | @skip_iptest_but_not_pytest | |
@@ -73,4 +70,4 b' def test_parse_error(style):' | |||||
73 | p = Parser(style=style) |
|
70 | p = Parser(style=style) | |
74 | f1 = p.format(")", "str") |
|
71 | f1 = p.format(")", "str") | |
75 | if style != "NoColor": |
|
72 | if style != "NoColor": | |
76 |
|
|
73 | assert "ERROR" in f1 |
General Comments 0
You need to be logged in to leave comments.
Login now