8000 Merge branch 'main' into fix-stream-reader-protocol-task-strong-refer… · python273/cpython@5289afe · GitHub
[go: up one dir, main page]

Skip to content

Commit 5289afe

Browse files
authored
Merge branch 'main' into fix-stream-reader-protocol-task-strong-reference
2 parents 91c8678 + ccf94a6 commit 5289afe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Lib/test/test_importlib/test_abc.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,9 @@ def contents(self, *args, **kwargs):
322322

323323
class ResourceReaderDefaultsTests(ABCTestHarness):
324324

325-
SPLIT = make_abc_subclasses(ResourceReader)
325+
with warnings.catch_warnings():
326+
warnings.simplefilter('ignore', DeprecationWarning)
327+
SPLIT = make_abc_subclasses(ResourceReader)
326328

327329
def test_open_resource(self):
328330
with self.assertRaises(FileNotFoundError):

0 commit comments

Comments
 (0)
0