summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_md5.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_md5.py')
-rw-r--r--Lib/test/test_md5.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_md5.py b/Lib/test/test_md5.py
index e2d3f22..92cd568 100644
--- a/Lib/test/test_md5.py
+++ b/Lib/test/test_md5.py
@@ -26,5 +26,5 @@ print md5test('12345678901234567890123456789012345678901234567890123456789012345
# hexdigest is new with Python 2.0
m = md5('testing the hexdigest method')
h = m.hexdigest()
-if hexstr(m.digest()) <> h:
+if hexstr(m.digest()) != h:
print 'hexdigest() failed'