mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 06:28:59 +08:00
Avoid SyntaxWarning on Python >= 3.8
This commit is contained in:
parent
8b10bef0a6
commit
e78248eaf3
@ -252,7 +252,7 @@ class TestCalculateExtraZClearance:
|
|||||||
return properties.get(args[2])
|
return properties.get(args[2])
|
||||||
|
|
||||||
def test_noContainerStack(self, build_volume: BuildVolume):
|
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):
|
def test_withRetractionHop(self, build_volume: BuildVolume):
|
||||||
mocked_global_stack = MagicMock(name="mocked_global_stack")
|
mocked_global_stack = MagicMock(name="mocked_global_stack")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user