diff options
author | Laura M?dioni <laura.medioni@logilab.fr> | 2015-11-10 13:36:56 +0100 |
---|---|---|
committer | Laura M?dioni <laura.medioni@logilab.fr> | 2015-11-10 13:36:56 +0100 |
commit | 38fd37a36933409625f422cbd7b91740540e3172 (patch) | |
tree | fe0d1b372cb7098ceb91ab8725123661ffb77046 /pylint/test/input/func_w0233.py | |
parent | 722446bab92ad13489d73119d534c9a7cf8f8b2c (diff) | |
download | pylint-38fd37a36933409625f422cbd7b91740540e3172.tar.gz |
Check imports are located at the top of the module (right after docstring and comments)
related to issue #692
Diffstat (limited to 'pylint/test/input/func_w0233.py')
-rw-r--r-- | pylint/test/input/func_w0233.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pylint/test/input/func_w0233.py b/pylint/test/input/func_w0233.py index 6427232..f373d4f 100644 --- a/pylint/test/input/func_w0233.py +++ b/pylint/test/input/func_w0233.py @@ -2,6 +2,8 @@ """test for call to __init__ from a non ancestor class """ from __future__ import print_function +from . import func_w0233 +import nonexistant __revision__ = '$Id: func_w0233.py,v 1.2 2004-09-29 08:35:13 syt Exp $' class AAAA(object): @@ -17,8 +19,6 @@ class BBBBMixin(object): def __init__(self): print('init', self) -import nonexistant -from . import func_w0233 class CCC(BBBBMixin, func_w0233.AAAA, func_w0233.BBBB, nonexistant.AClass): """mix different things, some inferable some not""" def __init__(self): |