Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add even more tests on architecture()
  • Loading branch information
vstinner committed Mar 19, 2026
commit ab707614e6f3fe5e8128589e8260be8c36221410
4 changes: 3 additions & 1 deletion Lib/test/test_platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ def test_invalidate_caches(self):
self.assertIsNone(platform._os_release_cache)

def test_architecture(self):
res = platform.architecture()
bits, linkage = platform.architecture()
self.assertIsInstance(bits, str)
self.assertIsInstance(linkage, str)

if support.MS_WINDOWS:
for sysconfig_platform, expected_bits in (
Expand Down
Loading