Files
openide/python/testData/pyTestLineMarker/pythonFile.py
Egor Eliseev 994775243f PY-71926 Refine test detection criteria
Add a new setting Python Integrated Tools: Detect tests in Jupyter Notebooks.
Exclude Jupyter Notebook files from the scope for test detection by default.
Add tests


Merge-request: IJ-MR-134248
Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com>

GitOrigin-RevId: 0bee082bde4fa608cb1907b8fbd64b97bb9755a0
2024-07-26 17:24:30 +00:00

10 lines
93 B
Python

import pytest
def foo(x):
return x + 1
def te<caret>st_foo():
assert foo(1) == 2