Skip to content

Commit 21105fc

Browse files
committed
Remove compatibilty for Python < 3.3
1 parent 8711b59 commit 21105fc

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

Tools/iobench/iobench.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -309,14 +309,7 @@ def run_test_family(tests, mode_filter, files, open_func, *make_args):
309309
}
310310

311311
print("Python %s" % sys.version)
312-
if sys.version_info < (3, 3):
313-
if sys.maxunicode > 0xffff:
314-
text = "UCS-4 (wide build)"
315-
else:
316-
text = "UTF-16 (narrow build)"
317-
else:
318-
text = "PEP 393"
319-
print("Unicode: %s" % text)
312+
print("Unicode: PEP 393")
320313
print(platform.platform())
321314
binary_files = list(get_binary_files())
322315
text_files = list(get_text_files())

0 commit comments

Comments
 (0)