From 41e89a70c3fa808e0a6647f70bf460e05cbdc386 Mon Sep 17 00:00:00 2001 From: Rune Tynan Date: Thu, 28 May 2020 19:56:28 -0400 Subject: [PATCH] Change test to platform check for windows-specific type checking --- test-data/stdlib-samples/3.2/test/support.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-data/stdlib-samples/3.2/test/support.py b/test-data/stdlib-samples/3.2/test/support.py index a36ba28f2341..88ce10cd74a9 100644 --- a/test-data/stdlib-samples/3.2/test/support.py +++ b/test-data/stdlib-samples/3.2/test/support.py @@ -473,7 +473,7 @@ def fcmp(x, y): # fuzzy comparison function # encoded by the filesystem encoding (in strict mode). It can be None if we # cannot generate such filename. TESTFN_UNENCODABLE = None # type: Any -if os.name in ('nt', 'ce'): +if sys.platform == "win32": # skip win32s (0) or Windows 9x/ME (1) if sys.getwindowsversion().platform >= 2: # Different kinds of characters from various languages to minimize the