[Python-checkins] r54031 - python/branches/p3yk_no_args_on_exc/Lib/test/test_set.py
brett.cannon
python-checkins at python.org
Wed Feb 28 19:36:13 CET 2007
Author: brett.cannon
Date: Wed Feb 28 19:36:09 2007
New Revision: 54031
Modified:
python/branches/p3yk_no_args_on_exc/Lib/test/test_set.py
Log:
Remove usage of BaseException.args.
Modified: python/branches/p3yk_no_args_on_exc/Lib/test/test_set.py
==============================================================================
--- python/branches/p3yk_no_args_on_exc/Lib/test/test_set.py (original)
+++ python/branches/p3yk_no_args_on_exc/Lib/test/test_set.py Wed Feb 28 19:36:09 2007
@@ -353,7 +353,7 @@
try:
self.s.remove(v1)
except KeyError as e:
- v2 = e.args[0]
+ v2 = e.message
self.assertEqual(v1, v2)
else:
self.fail()
More information about the Python-checkins
mailing list