We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35ebd34 commit ab70761Copy full SHA for ab70761
1 file changed
Lib/test/test_platform.py
@@ -119,7 +119,9 @@ def test_invalidate_caches(self):
119
self.assertIsNone(platform._os_release_cache)
120
121
def test_architecture(self):
122
- res = platform.architecture()
+ bits, linkage = platform.architecture()
123
+ self.assertIsInstance(bits, str)
124
+ self.assertIsInstance(linkage, str)
125
126
if support.MS_WINDOWS:
127
for sysconfig_platform, expected_bits in (
0 commit comments