mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Remove the exceptions builtin module, all the exceptions are already builtin.
This commit is contained in:
parent
f543348fff
commit
2633c69fae
15 changed files with 34 additions and 66 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue