From 31455c7b1f3dc2992bdc025c2a5b0a0ea067151d Mon Sep 17 00:00:00 2001 From: David Bieber Date: Thu, 19 Sep 2024 18:51:54 -0700 Subject: [PATCH] Remove useless super --- fire/testutils.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/fire/testutils.py b/fire/testutils.py index 816551b5..eca37f43 100644 --- a/fire/testutils.py +++ b/fire/testutils.py @@ -67,9 +67,6 @@ def assertOutputMatches(self, stdout='.*', stderr='.*', capture=True): raise AssertionError('%s: Expected %r to match %r' % (name, value, regexp)) - def assertRaisesRegex(self, *args, **kwargs): # pylint: disable=arguments-differ - return super(BaseTestCase, self).assertRaisesRegex(*args, **kwargs) # pylint: disable=no-member - @contextlib.contextmanager def assertRaisesFireExit(self, code, regexp='.*'): """Asserts that a FireExit error is raised in the context.