mirror of
https://fuchsia.googlesource.com/third_party/github.com/pylint-dev/pylint
synced 2024-09-21 16:19:21 +00:00
12 lines
328 B
Python
12 lines
328 B
Python
|
"""Test disabling of cyclic import check inside a function
|
||
|
"""
|
||
|
# pylint: disable=no-absolute-import
|
||
|
from __future__ import print_function
|
||
|
|
||
|
|
||
|
def func():
|
||
|
"""Test disabling of cyclic import check inside a function"""
|
||
|
from . import w0401_cycle # pylint: disable=cyclic-import
|
||
|
if w0401_cycle:
|
||
|
print(w0401_cycle)
|