blob: 5111c6036bb29d6b4a08bfb2d2357bdbae1b0c73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
"""Unittests for W0404 (reimport)"""
from __future__ import absolute_import, print_function
import sys
import xml.etree.ElementTree
from xml.etree import ElementTree
from email import encoders
import email.encoders
import sys #pylint: disable=ungrouped-imports
__revision__ = 0
def no_reimport():
"""docstring"""
import os
print(os)
def reimport():
"""This function contains a reimport."""
import sys
del sys
del sys, ElementTree, xml.etree.ElementTree, encoders, email.encoders
|