From 48f763a3785933aaed8d52a983ddae287e8f235c Mon Sep 17 00:00:00 2001 From: Ben Rudiak-Gould Date: Tue, 3 May 2022 13:53:50 -0700 Subject: [PATCH] Manually merge radarhere's additional tests --- Tests/test_image_point.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tests/test_image_point.py b/Tests/test_image_point.py index 140b7a3c9..157ecb120 100644 --- a/Tests/test_image_point.py +++ b/Tests/test_image_point.py @@ -28,8 +28,11 @@ def test_sanity(): im.point(lambda x: (2 + x) / 3) im.point(lambda x: 0.5) im.point(lambda x: x / 1) + im.point(lambda x: x + x) with pytest.raises(TypeError): im.point(lambda x: x * x) + with pytest.raises(TypeError): + im.point(lambda x: x / x) with pytest.raises(TypeError): im.point(lambda x: 1 / x) with pytest.raises(TypeError):