From e79edf5f7c53f977b8e1fe8c00773e4668e35ea9 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sun, 13 Jul 2008 18:34:58 +0000 Subject: [PATCH] remove sys.version_info check for 3.0 --- Lib/test/test_multiprocessing.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py index a887bca81ba..22a759c093c 100644 --- a/Lib/test/test_multiprocessing.py +++ b/Lib/test/test_multiprocessing.py @@ -32,11 +32,7 @@ from multiprocessing import util # # -if sys.version_info >= (3, 0): - def latin(s): - return s.encode('latin') -else: - latin = str +latin = str # # Constants