diff options
author | shadchin <shadchin@yandex-team.ru> | 2022-02-10 16:44:39 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:44:39 +0300 |
commit | e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (patch) | |
tree | 64175d5cadab313b3e7039ebaa06c5bc3295e274 /contrib/python/parso/py3/tests/normalizer_issue_files/E40.py | |
parent | 2598ef1d0aee359b4b6d5fdd1758916d5907d04f (diff) | |
download | ydb-e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0.tar.gz |
Restoring authorship annotation for <shadchin@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/python/parso/py3/tests/normalizer_issue_files/E40.py')
-rw-r--r-- | contrib/python/parso/py3/tests/normalizer_issue_files/E40.py | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/contrib/python/parso/py3/tests/normalizer_issue_files/E40.py b/contrib/python/parso/py3/tests/normalizer_issue_files/E40.py index 708412864c..93a2ccf386 100644 --- a/contrib/python/parso/py3/tests/normalizer_issue_files/E40.py +++ b/contrib/python/parso/py3/tests/normalizer_issue_files/E40.py @@ -1,39 +1,39 @@ -#: E401:7 -import os, sys -# Okay -import os -import sys - -from subprocess import Popen, PIPE - -from myclass import MyClass -from foo.bar.yourclass import YourClass - -import myclass -import foo.bar.yourclass -# All Okay from here until the definition of VERSION -__all__ = ['abc'] - -import foo -__version__ = "42" - -import foo -__author__ = "Simon Gomizelj" - -import foo -try: - import foo -except ImportError: - pass -else: - hello('imported foo') -finally: - hello('made attempt to import foo') - -import bar -VERSION = '1.2.3' - -#: E402 -import foo -#: E402 -import foo +#: E401:7 +import os, sys +# Okay +import os +import sys + +from subprocess import Popen, PIPE + +from myclass import MyClass +from foo.bar.yourclass import YourClass + +import myclass +import foo.bar.yourclass +# All Okay from here until the definition of VERSION +__all__ = ['abc'] + +import foo +__version__ = "42" + +import foo +__author__ = "Simon Gomizelj" + +import foo +try: + import foo +except ImportError: + pass +else: + hello('imported foo') +finally: + hello('made attempt to import foo') + +import bar +VERSION = '1.2.3' + +#: E402 +import foo +#: E402 +import foo |