Files
openide/python/testData/inspections/PyUnboundLocalVariableInspection/VariableNotReportedAfterBuiltinExit.py
Daniil Kalininandintellij-monorepo-bot c245993809 PY-7758, PY-23859 improvements in Control Flow analysis
Control flow now abrupts on `exit()` and `pytest.fail()` calls

Control flow now abrupts only if class which contains `self.fail()` call contains case-insensitive "test" word in the name 

Merge-request: IJ-MR-96165
Merged-by: Daniil Kalinin <Daniil.Kalinin@jetbrains.com>

GitOrigin-RevId: ea173fdb72a10a373cd95f266ea7589e36545f30
2022-11-01 09:54:20 +00:00

7 lines
138 B
Python

try:
n = int(sys.argv[1])
except:
print("both arguments should be numbers")
exit()
print("Please, input " + str(n) + " file names")