Skip to content

Commit 4b560ef

Browse files
authored
Discard changes to Lib/test/test_unittest/test_case.py
1 parent 4b1359a commit 4b560ef

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Lib/test/test_unittest/test_case.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
ResultWithNoStartTestRunStopTestRun
2121
)
2222
from test.support import captured_stderr, gc_collect
23-
from test.support.warnings_helper import check_warnings
2423

2524

2625
log_foo = logging.getLogger('foo')
@@ -358,7 +357,7 @@ async def test1(self):
358357
self.assertIn("returned 'coroutine'", str(w.warning))
359358
self.assertIn(
360359
'Maybe you forgot to use IsolatedAsyncioTestCase as the base class?',
361-
str(warning),
360+
str(w.warning),
362361
)
363362

364363
def _check_call_order__subtests(self, result, events, expected_events):

0 commit comments

Comments
 (0)