summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2012-06-28 16:38:03 +0200
committerHelmut Grohne <helmut@subdivi.de>2012-06-28 16:38:03 +0200
commitfd38036b9f1693f8f368851d40928bc5922ce606 (patch)
treef4f19368c960aeee1871dd809c4b064e2c7b618b /test.py
parentee5abb0e0b24b4e1ac31412a279a40e166482fce (diff)
downloadwsgitools-fd38036b9f1693f8f368851d40928bc5922ce606.tar.gz
remove workarounds for missing next() and hashlib
Diffstat (limited to 'test.py')
-rwxr-xr-xtest.py11
1 files changed, 1 insertions, 10 deletions
diff --git a/test.py b/test.py
index 1acf5aa..f46a512 100755
--- a/test.py
+++ b/test.py
@@ -9,18 +9,9 @@ try:
import cStringIO as io
except ImportError:
import StringIO as io
-try:
- from hashlib import md5
-except ImportError:
- from md5 import md5
+from hashlib import md5
import sys
-try:
- next
-except NameError:
- def next(iterator):
- return iterator.next()
-
class Request:
def __init__(self, case):
"""