Avoid SyntaxWarning on Python >= 3.8

This commit is contained in:
Christian Clauss 2020-06-28 15:20:44 +02:00 committed by GitHub
parent 8b10bef0a6
commit e78248eaf3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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")