mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
PY-22042 Gutter icon for running main clause
This commit is contained in:
10
python/testData/codeInsight/runLineMarker/not_runnable.py
Normal file
10
python/testData/codeInsight/runLineMarker/not_runnable.py
Normal file
@@ -0,0 +1,10 @@
|
||||
def f():
|
||||
def g():
|
||||
pass
|
||||
|
||||
if __name__ == '__main__':
|
||||
g()
|
||||
print(1)
|
||||
|
||||
|
||||
f()
|
||||
5
python/testData/codeInsight/runLineMarker/runnable.py
Normal file
5
python/testData/codeInsight/runLineMarker/runnable.py
Normal file
@@ -0,0 +1,5 @@
|
||||
def f():
|
||||
print(1)
|
||||
|
||||
if __name__ == "__main__":
|
||||
f()
|
||||
Reference in New Issue
Block a user