mirror of
https://github.com/python/cpython.git
synced 2025-12-09 10:37:17 +00:00
bpo-40275: Use new test.support helper submodules in tests (GH-21727)
This commit is contained in:
parent
604bba1f8f
commit
c7decc27d5
19 changed files with 58 additions and 46 deletions
|
|
@ -3,6 +3,7 @@
|
|||
import os
|
||||
import tempfile
|
||||
from test import support
|
||||
from test.support import os_helper
|
||||
from test.test_tools import skip_if_missing, import_tool
|
||||
import unittest
|
||||
|
||||
|
|
@ -14,7 +15,7 @@ class lllTests(unittest.TestCase):
|
|||
def setUp(self):
|
||||
self.lll = import_tool('lll')
|
||||
|
||||
@support.skip_unless_symlink
|
||||
@os_helper.skip_unless_symlink
|
||||
def test_lll_multiple_dirs(self):
|
||||
with tempfile.TemporaryDirectory() as dir1, \
|
||||
tempfile.TemporaryDirectory() as dir2:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue