Skip to content

Commit d1fe7ee

Browse files
authored
Expect '' for 'unknown'
1 parent 0d9e4d1 commit d1fe7ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_platform.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def test_uname_processor(self):
172172
expect = subprocess.check_output(['uname', '-p'], text=True).strip()
173173

174174
if expect == 'unknown':
175-
return
175+
expect = ''
176176

177177
self.assertEqual(platform.uname().processor, expect)
178178

0 commit comments

Comments
 (0)