pep8: Move to third_party/.
[Samba.git] / third_party / pep8 / testsuite / E40.py
blob1051e32cf8ed62b5df3961c0f9b05e2dcbff6845
1 #: E401
2 import os, sys
3 #: Okay
4 import os
5 import sys
7 from subprocess import Popen, PIPE
9 from myclass import MyClass
10 from foo.bar.yourclass import YourClass
12 import myclass
13 import foo.bar.yourclass
14 #: E402
15 __all__ = ['abc']
17 import foo
18 #: Okay
19 try:
20 import foo
21 except:
22 pass
23 else:
24 print('imported foo')
25 finally:
26 print('made attempt to import foo')
28 import bar
29 #: E402
30 VERSION = '1.2.3'
32 import foo
33 #: E402
34 import foo
36 a = 1
38 import bar