summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2022-09-05 19:37:51 (GMT)
committerGitHub <noreply@github.com>2022-09-05 19:37:51 (GMT)
commit52fe7e50c9945b7db60190b4b97e1213d05200b2 (patch)
treeab3b436b36cc762b055dd8d8c7ad2702850033c4 /Lib/test/test_importlib
parent80a9bd2e94b1759a7669fa811ed3526eb137c92d (diff)
downloadcpython-52fe7e50c9945b7db60190b4b97e1213d05200b2.zip
cpython-52fe7e50c9945b7db60190b4b97e1213d05200b2.tar.gz
cpython-52fe7e50c9945b7db60190b4b97e1213d05200b2.tar.bz2
gh-93963: Remove ResourceReaderDefaultsTests (GH-96598)
Automerge-Triggered-By: GH:jaraco
Diffstat (limited to 'Lib/test/test_importlib')
-rw-r--r--Lib/test/test_importlib/test_abc.py28
1 files changed, 0 insertions, 28 deletions
diff --git a/Lib/test/test_importlib/test_abc.py b/Lib/test/test_importlib/test_abc.py
index 430dd77..c214209 100644
--- a/Lib/test/test_importlib/test_abc.py
+++ b/Lib/test/test_importlib/test_abc.py
@@ -320,34 +320,6 @@ class ResourceReader:
return super().contents(*args, **kwargs)
-class ResourceReaderDefaultsTests(ABCTestHarness):
-
- with warnings.catch_warnings():
- warnings.simplefilter('ignore', DeprecationWarning)
- SPLIT = make_abc_subclasses(ResourceReader)
-
- def test_open_resource(self):
- with self.assertRaises(FileNotFoundError):
- self.ins.open_resource('dummy_file')
-
- def test_resource_path(self):
- with self.assertRaises(FileNotFoundError):
- self.ins.resource_path('dummy_file')
-
- def test_is_resource(self):
- with self.assertRaises(FileNotFoundError):
- self.ins.is_resource('dummy_file')
-
- def test_contents(self):
- with self.assertRaises(FileNotFoundError):
- self.ins.contents()
-
-
-(Frozen_RRDefaultTests,
- Source_RRDefaultsTests
- ) = test_util.test_both(ResourceReaderDefaultsTests)
-
-
##### MetaPathFinder concrete methods ##########################################
class MetaPathFinderFindModuleTests: