diff options
author | Hai Shi <shihai1992@gmail.com> | 2020-08-08 09:32:41 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-08 09:32:41 (GMT) |
commit | d94af3f7ed98e6bfb4bf5f918f464b5e23d3ed1b (patch) | |
tree | fcd219f3484eca8caade4aaa68a1d5fd66218e3c /Lib/ctypes | |
parent | a4084b9d1e40c1c9259372263d1fe8c8a562b093 (diff) | |
download | cpython-d94af3f7ed98e6bfb4bf5f918f464b5e23d3ed1b.zip cpython-d94af3f7ed98e6bfb4bf5f918f464b5e23d3ed1b.tar.gz cpython-d94af3f7ed98e6bfb4bf5f918f464b5e23d3ed1b.tar.bz2 |
bpo-40275: Remove test helpers aliases in test.support (GH-21771)
Diffstat (limited to 'Lib/ctypes')
-rw-r--r-- | Lib/ctypes/test/test_loading.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/ctypes/test/test_loading.py b/Lib/ctypes/test/test_loading.py index 38b45f9..7b930f9 100644 --- a/Lib/ctypes/test/test_loading.py +++ b/Lib/ctypes/test/test_loading.py @@ -6,6 +6,7 @@ import sys import unittest import test.support from test.support import import_helper +from test.support import os_helper from ctypes.util import find_library libc_name = None @@ -125,7 +126,7 @@ class LoaderTest(unittest.TestCase): else: ext = ".dll" - with test.support.temp_dir() as tmp: + with os_helper.temp_dir() as tmp: # We copy two files and load _sqlite3.dll (formerly .pyd), # which has a dependency on sqlite3.dll. Then we test # loading it in subprocesses to avoid it starting in memory |