@@ -144,7 +144,6 @@ def test_is_not_aix():
144
144
145
145
def test_is_aarch64_arm64 ():
146
146
return_value = True
147
- print (f"DGM test_is_aarch64_arm64, expected return value '{ return_value } '" , flush = True )
148
147
# Allow for MacOS Arm64 platform returns 'arm64' not 'aarch64', different than Linux
149
148
with mock .patch ("platform.machine" , return_value = "arm64" ):
150
149
with mock .patch ("sys.platform" , new_callable = mock .PropertyMock (return_value = "darwin" )):
@@ -153,7 +152,6 @@ def test_is_aarch64_arm64():
153
152
154
153
def test_is_aarch64_aarch64 ():
155
154
return_value = True
156
- print (f"DGM test_is_aarch64_aarch64, expected return value '{ return_value } '" , flush = True )
157
155
# Allow for MacOS Arm64 platform returns 'arm64' not 'aarch64', different than Linux
158
156
with mock .patch ("platform.machine" , return_value = "aarch64" ):
159
157
with mock .patch ("sys.platform" , new_callable = mock .PropertyMock (return_value = "not_darwin" )):
@@ -162,18 +160,13 @@ def test_is_aarch64_aarch64():
162
160
163
161
def test_is_not_aarch64 ():
164
162
return_value = False
165
- print (f"DGM test_is_not_aarch64, expected return value '{ return_value } '" , flush = True )
166
163
with mock .patch ("platform.machine" , return_value = "not_arm64" ):
167
164
with mock .patch ("sys.platform" , new_callable = mock .PropertyMock (return_value = "darwin" )):
168
165
assert pytestskipmarkers .utils .platform .is_aarch64 () is return_value
169
166
170
167
171
168
def test_is_not_aarch64_string_aarch64 ():
172
169
return_value = False
173
- print (
174
- f"DGM test_is_not_aarch64_string_aarch64, expected return value '{ return_value } '" ,
175
- flush = True ,
176
- )
177
170
with mock .patch ("platform.machine" , return_value = "not_aarch64" ):
178
171
assert pytestskipmarkers .utils .platform .is_aarch64 () is return_value
179
172
0 commit comments