mirror of
https://github.com/python/cpython.git
synced 2025-07-19 17:25:54 +00:00
Issue #17177: Stop using imp in a bunch of tests
This commit is contained in:
parent
8a2a902f88
commit
9529fbfd36
7 changed files with 17 additions and 15 deletions
|
@ -6,7 +6,7 @@ import random
|
|||
import tempfile
|
||||
import unittest
|
||||
|
||||
from imp import cache_from_source
|
||||
from importlib.util import cache_from_source
|
||||
from test.support import run_unittest, create_empty_file
|
||||
|
||||
class TestImport(unittest.TestCase):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue