Merge pull request #7990 from cclauss/patch-1

Avoid SyntaxWarning on Python >= 3.8
This commit is contained in:
Nino van Hooff 2020-06-29 11:48:03 +02:00 committed by GitHub
commit 2fed7a835e
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")