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 76f6b5e commit e808531Copy full SHA for e808531
Lib/test/test_threading.py
@@ -2145,7 +2145,7 @@ def test_set_name(self):
2145
if os_helper.TESTFN_UNENCODABLE:
2146
tests.append(os_helper.TESTFN_UNENCODABLE)
2147
2148
- if sys.platform.startswith("solaris"):
+ if sys.platform.startswith("sunos"):
2149
encoding = "utf-8"
2150
else:
2151
encoding = sys.getfilesystemencoding()
@@ -2161,7 +2161,7 @@ def work():
2161
encoded = encoded.split(b'\0', 1)[0]
2162
if truncate is not None:
2163
encoded = encoded[:truncate]
2164
2165
expected = encoded.decode("utf-8", "surrogateescape")
2166
2167
expected = os.fsdecode(encoded)
0 commit comments