Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

func_w0401_disabled_in_func.py 328B

1234567891011
  1. """Test disabling of cyclic import check inside a function
  2. """
  3. # pylint: disable=no-absolute-import
  4. from __future__ import print_function
  5. def func():
  6. """Test disabling of cyclic import check inside a function"""
  7. from . import w0401_cycle # pylint: disable=cyclic-import
  8. if w0401_cycle:
  9. print(w0401_cycle)