PY-20805 PY-8219 Detect usages of local variables inside f-strings
[idea/community.git] / python / testData / inspections / UnusedLocalDoctestReference / test.py
1 def f(x, <weak_warning descr="Parameter 'y' value is not used">y</weak_warning>):
2     """
3     >>> print(x)
4     """
5
6
7 def bar():
8     def tokenize():
9         """
10         >>> tokenize()
11         ['foo', Escaped('='), 'bar', Escaped('\\'), 'baz']
12  
13         """