summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-07-13 18:34:58 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-07-13 18:34:58 (GMT)
commite79edf5f7c53f977b8e1fe8c00773e4668e35ea9 (patch)
treece35fbd6ee70ccc55c5af396f16b949997469cc1 /Lib
parent2a6087966c0d2950da674cfd05623d1bf6566923 (diff)
downloadcpython-e79edf5f7c53f977b8e1fe8c00773e4668e35ea9.zip
cpython-e79edf5f7c53f977b8e1fe8c00773e4668e35ea9.tar.gz
cpython-e79edf5f7c53f977b8e1fe8c00773e4668e35ea9.tar.bz2
remove sys.version_info check for 3.0
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_multiprocessing.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py
index a887bca..22a759c 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