diff options
| author | Hai Shi <shihai1992@gmail.com> | 2020-08-03 16:47:42 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-03 16:47:42 (GMT) |
| commit | bb0424b122e3d222a558bd4177ce37befd3e0347 (patch) | |
| tree | f5962e6276319558e48b702b6fa5a48f5c03ff6b /Lib/test/test_syslog.py | |
| parent | a7f5d93bb6906d0f999248b47295d3a59b130f4d (diff) | |
| download | cpython-bb0424b122e3d222a558bd4177ce37befd3e0347.zip cpython-bb0424b122e3d222a558bd4177ce37befd3e0347.tar.gz cpython-bb0424b122e3d222a558bd4177ce37befd3e0347.tar.bz2 | |
bpo-40275: Use new test.support helper submodules in tests (GH-21451)
Diffstat (limited to 'Lib/test/test_syslog.py')
| -rw-r--r-- | Lib/test/test_syslog.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/test/test_syslog.py b/Lib/test/test_syslog.py index 6f902f1..fe09bd3 100644 --- a/Lib/test/test_syslog.py +++ b/Lib/test/test_syslog.py @@ -1,6 +1,5 @@ - -from test import support -syslog = support.import_module("syslog") #skip if not supported +from test.support import import_helper +syslog = import_helper.import_module("syslog") #skip if not supported import unittest # XXX(nnorwitz): This test sucks. I don't know of a platform independent way |
