@@ -144,7 +144,6 @@ def test_is_not_aix():
144144
145145def test_is_aarch64_arm64 ():
146146 return_value = True
147- print (f"DGM test_is_aarch64_arm64, expected return value '{ return_value } '" , flush = True )
148147 # Allow for MacOS Arm64 platform returns 'arm64' not 'aarch64', different than Linux
149148 with mock .patch ("platform.machine" , return_value = "arm64" ):
150149 with mock .patch ("sys.platform" , new_callable = mock .PropertyMock (return_value = "darwin" )):
@@ -153,7 +152,6 @@ def test_is_aarch64_arm64():
153152
154153def test_is_aarch64_aarch64 ():
155154 return_value = True
156- print (f"DGM test_is_aarch64_aarch64, expected return value '{ return_value } '" , flush = True )
157155 # Allow for MacOS Arm64 platform returns 'arm64' not 'aarch64', different than Linux
158156 with mock .patch ("platform.machine" , return_value = "aarch64" ):
159157 with mock .patch ("sys.platform" , new_callable = mock .PropertyMock (return_value = "not_darwin" )):
@@ -162,18 +160,13 @@ def test_is_aarch64_aarch64():
162160
163161def test_is_not_aarch64 ():
164162 return_value = False
165- print (f"DGM test_is_not_aarch64, expected return value '{ return_value } '" , flush = True )
166163 with mock .patch ("platform.machine" , return_value = "not_arm64" ):
167164 with mock .patch ("sys.platform" , new_callable = mock .PropertyMock (return_value = "darwin" )):
168165 assert pytestskipmarkers .utils .platform .is_aarch64 () is return_value
169166
170167
171168def test_is_not_aarch64_string_aarch64 ():
172169 return_value = False
173- print (
174- f"DGM test_is_not_aarch64_string_aarch64, expected return value '{ return_value } '" ,
175- flush = True ,
176- )
177170 with mock .patch ("platform.machine" , return_value = "not_aarch64" ):
178171 assert pytestskipmarkers .utils .platform .is_aarch64 () is return_value
179172
0 commit comments