summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_weakref.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-02-26 22:22:47 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-02-26 22:22:47 (GMT)
commit2633c69fae7e413b2b64b01d8c0c901ae649a225 (patch)
tree144a1f97f427f019a8ddaae96a8f0da6a09df985 /Lib/test/test_weakref.py
parentf543348fff32ae20a9fd2c7f70a3549a3280048c (diff)
downloadcpython-2633c69fae7e413b2b64b01d8c0c901ae649a225.zip
cpython-2633c69fae7e413b2b64b01d8c0c901ae649a225.tar.gz
cpython-2633c69fae7e413b2b64b01d8c0c901ae649a225.tar.bz2
Remove the exceptions builtin module, all the exceptions are already builtin.
Diffstat (limited to 'Lib/test/test_weakref.py')
-rw-r--r--Lib/test/test_weakref.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_weakref.py b/Lib/test/test_weakref.py
index 642af10..46dd5ff 100644
--- a/Lib/test/test_weakref.py
+++ b/Lib/test/test_weakref.py
@@ -104,9 +104,9 @@ class ReferencesTestCase(TestBase):
def check(proxy):
proxy.bar
- self.assertRaises(weakref.ReferenceError, check, ref1)
- self.assertRaises(weakref.ReferenceError, check, ref2)
- self.assertRaises(weakref.ReferenceError, bool, weakref.proxy(C()))
+ self.assertRaises(ReferenceError, check, ref1)
+ self.assertRaises(ReferenceError, check, ref2)
+ self.assertRaises(ReferenceError, bool, weakref.proxy(C()))
self.assert_(self.cbcalled == 2)
def check_basic_ref(self, factory):