third_party.pylibs.pylint.src/pylint/test/regrtest_data/import_something.py
Claudiu Popa ef1fdce33c Add wrong-import-position to check_messages's decorator arguments for ImportChecker.leave_module
This fixes an esoteric bug which occurs when ungrouped-imports and wrong-import-order
are disabled and pylint is executed on multiple files. What happens is that without
wrong-import-position in check_messages, leave_module will never be called, which means
that the first non-import node from other files might leak into the current file,
leading to wrong-import-position being emitted by pylint.
2015-11-30 00:46:56 +02:00

5 lines
76 B
Python

# pylint: disable=missing-docstring,unused-import
import os
import sys