[pypy-commit] pypy py3k: 3dded6e012c
MichaelBlume
noreply at buildbot.pypy.org
Mon Mar 12 20:01:43 CET 2012
Author: Mike Blume <mike at loggly.com>
Branch: py3k
Changeset: r53328:be1a97cde868
Date: 2012-03-12 11:33 -0700
http://bitbucket.org/pypy/pypy/changeset/be1a97cde868/
Log: 3dded6e012c
diff --git a/pypy/module/_collections/test/test_defaultdict.py b/pypy/module/_collections/test/test_defaultdict.py
--- a/pypy/module/_collections/test/test_defaultdict.py
+++ b/pypy/module/_collections/test/test_defaultdict.py
@@ -23,7 +23,7 @@
for key in ['foo', (1,)]:
try:
d1[key]
- except KeyError, err:
+ except KeyError as err:
assert err.args[0] == key
else:
assert 0, "expected KeyError"
More information about the pypy-commit
mailing list