From e78248eaf3288e5bff22930ea68e913be3b34228 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 28 Jun 2020 15:20:44 +0200 Subject: [PATCH] Avoid SyntaxWarning on Python >= 3.8 --- tests/TestBuildVolume.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestBuildVolume.py b/tests/TestBuildVolume.py index fc49483e5a..c5d59b64d7 100644 --- a/tests/TestBuildVolume.py +++ b/tests/TestBuildVolume.py @@ -252,7 +252,7 @@ class TestCalculateExtraZClearance: return properties.get(args[2]) def test_noContainerStack(self, build_volume: BuildVolume): - assert build_volume._calculateExtraZClearance([]) is 0 + assert build_volume._calculateExtraZClearance([]) == 0 def test_withRetractionHop(self, build_volume: BuildVolume): mocked_global_stack = MagicMock(name="mocked_global_stack")