From f51a93515e3691b788f44ef4dc03bd0a872edd66 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Thu, 17 Jan 2019 09:06:22 +0000 Subject: [PATCH] beef up the cmyk tests --- test/test-suite/test_colour.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/test-suite/test_colour.py b/test/test-suite/test_colour.py index b8cb0754..b727937b 100644 --- a/test/test-suite/test_colour.py +++ b/test/test-suite/test_colour.py @@ -170,6 +170,11 @@ class TestColour: im = test.colourspace("cmyk").colourspace("srgb") + before = test(10, 10) + after = im(10, 10) + + assert_almost_equal_objects(before, after, threshold=10) + if __name__ == '__main__': pytest.main()