Commit 806bb7ac authored by David GEISSBUHLER's avatar David GEISSBUHLER

simpler assert

parent 7410df32
...@@ -129,5 +129,5 @@ def test_remove_highlights_integrity(): ...@@ -129,5 +129,5 @@ def test_remove_highlights_integrity():
ref2 = image.load(F('toys_diffuse.ppm')) ref2 = image.load(F('toys_diffuse.ppm'))
# test: compare results # test: compare results
nose.tools.assert_true((diff1_u8 == ref1).all()) assert (diff1_u8 == ref1).all()
nose.tools.assert_true((diff2_u8 == ref2).all()) assert (diff2_u8 == ref2).all()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment