summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-07-13 18:45:30 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-07-13 18:45:30 (GMT)
commit2bc91df2a35da3b8e9668770e13e95feea3e678f (patch)
treeca3d1a2c5c3b82727fcb5a29864066cc83712f97 /Lib
parentac623cde2dc2aa1ca4ef653bbef20a2272f4f1f2 (diff)
downloadcpython-2bc91df2a35da3b8e9668770e13e95feea3e678f.zip
cpython-2bc91df2a35da3b8e9668770e13e95feea3e678f.tar.gz
cpython-2bc91df2a35da3b8e9668770e13e95feea3e678f.tar.bz2
remove 3.0 conditional
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_multiprocessing.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py
index 52b1bd2..4c5f7a5 100644
--- a/Lib/test/test_multiprocessing.py
+++ b/Lib/test/test_multiprocessing.py
@@ -30,11 +30,8 @@ from multiprocessing import util
#
#
-if sys.version_info >= (3, 0):
- def latin(s):
- return s.encode('latin')
-else:
- latin = str
+def latin(s):
+ return s.encode('latin')
#
# Constants