aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_importlib/test_main.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_importlib/test_main.py')
-rw-r--r--Lib/test/test_importlib/test_main.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/Lib/test/test_importlib/test_main.py b/Lib/test/test_importlib/test_main.py
index d9d067c4b23..30b68b6ae7d 100644
--- a/Lib/test/test_importlib/test_main.py
+++ b/Lib/test/test_importlib/test_main.py
@@ -1,8 +1,6 @@
import re
-import json
import pickle
import unittest
-import warnings
import importlib.metadata
try:
@@ -260,14 +258,6 @@ class TestEntryPoints(unittest.TestCase):
"""EntryPoints should be hashable"""
hash(self.ep)
- def test_json_dump(self):
- """
- json should not expect to be able to dump an EntryPoint
- """
- with self.assertRaises(Exception):
- with warnings.catch_warnings(record=True):
- json.dumps(self.ep)
-
def test_module(self):
assert self.ep.module == 'value'