Files
openide/python/testData/inspections/IgnoreShadowingBuiltins.py
Mikhail Golubev 02a9f21844 Fix broken test. Properly initialize inspection tools in PyQuickFixTest and PyInspectionTestCase
Use InspectionProfileImpl.INIT_INSPECTIONS flag for this purpose.
Additionally I've added test case about black list in
PyShadowingBuiltinsInspection that works similarly to affected
PyUnresolvedReferencesInspection.
2015-03-12 15:52:02 +03:00

7 lines
191 B
Python

def o<caret>pen():
pass
# Sentinel definition to make sure that other warnings are still present
def <weak_warning descr="Shadows built-in name 'input'">input</weak_warning>():
pass