mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-04 17:32:58 +00:00
[stalbe-5] Remove unnecessary test imports (#5980)
Remove unnecessary test imports (#5978)
Remove unnecessary test imports.
(cherry picked from commit 9f87989e7f)
This commit is contained in:
parent
24210b32cf
commit
66e3c19a57
66 changed files with 96 additions and 114 deletions
|
|
@ -18,8 +18,8 @@ import sys
|
|||
if sys.version_info < (2, 7):
|
||||
try:
|
||||
# Need unittest2 on python2.6
|
||||
from unittest2 import *
|
||||
from unittest2 import * # noqa: F401, pylint: disable=unused-import
|
||||
except ImportError:
|
||||
print('You need unittest2 installed on python2.6.x to run tests')
|
||||
else:
|
||||
from unittest import *
|
||||
from unittest import * # noqa: F401, pylint: disable=unused-import
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue