mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-24834 Fix PyUnreachableCodeInspectionTest.testUnreachable
GitOrigin-RevId: 59dba49a88e554f0f7000fef521058e7f927e4e9
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7fa9888621
commit
6cb0bb285a
@@ -57,7 +57,7 @@ def f():
|
||||
|
||||
class MyTestCase(unittest.TestCase):
|
||||
def test_something(self):
|
||||
with self.assertRaises():
|
||||
with self.assertRaises(Exception):
|
||||
raise Foo
|
||||
foo() # pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user