##// END OF EJS Templates
== None to is None
Matthias Bussonnier -
Show More
@@ -352,7 +352,7 b' def test_print_method_weird():'
352 with capture_output() as captured:
352 with capture_output() as captured:
353 result = f(call_hat)
353 result = f(call_hat)
354
354
355 assert result == None
355 assert result is None
356
356
357 class BadReprArgs(object):
357 class BadReprArgs(object):
358 def _repr_html_(self, extra, args):
358 def _repr_html_(self, extra, args):
@@ -25,7 +25,7 b' def test_check_latex_to_png_dvipng_fails_when_no_cmd(command):'
25 raise FindCmdError
25 raise FindCmdError
26
26
27 with patch.object(latextools, "find_cmd", mock_find_cmd):
27 with patch.object(latextools, "find_cmd", mock_find_cmd):
28 assert latextools.latex_to_png_dvipng("whatever", True) == None
28 assert latextools.latex_to_png_dvipng("whatever", True) is None
29
29
30
30
31 @contextmanager
31 @contextmanager
General Comments 0
You need to be logged in to leave comments. Login now