diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-08-21 17:00:40 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-08-21 17:00:40 (GMT) |
commit | 9b6760225a21e336418a55a86f3b6dfdc37cef56 (patch) | |
tree | 1287bcb6191912d396b75c382ed5198ff637b39f /Lib/test/test_exceptions.py | |
parent | f9aefce634f2107454ffff4d6b092e01d04b89c8 (diff) | |
download | cpython-9b6760225a21e336418a55a86f3b6dfdc37cef56.zip cpython-9b6760225a21e336418a55a86f3b6dfdc37cef56.tar.gz cpython-9b6760225a21e336418a55a86f3b6dfdc37cef56.tar.bz2 |
move test to a better location
Diffstat (limited to 'Lib/test/test_exceptions.py')
-rw-r--r-- | Lib/test/test_exceptions.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py index 6075b8d..c7de97c 100644 --- a/Lib/test/test_exceptions.py +++ b/Lib/test/test_exceptions.py @@ -564,27 +564,6 @@ class ExceptionTests(unittest.TestCase): pass self.assertEquals(e, (None, None, None)) - def test_3118(self): - def gen(): - try: - yield 1 - finally: - pass - - def f(): - g = gen() - next(g) - try: - try: - raise ValueError - except: - del g - raise KeyError - except Exception as e: - self.assert_(isinstance(e.__context__, ValueError)) - - f() - def test_badisinstance(self): # Bug #2542: if issubclass(e, MyException) raises an exception, |