mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 13:25:17 +00:00
32 lines
317 B
Python
32 lines
317 B
Python
"""Test fix for issue #8441.
|
|
|
|
Ref: https://github.com/astral-sh/ruff/issues/8441
|
|
"""
|
|
|
|
|
|
def foo():
|
|
...
|
|
|
|
|
|
def bar():
|
|
a = foo()
|
|
b, c = foo()
|
|
|
|
|
|
def baz():
|
|
d, _e = foo()
|
|
print(d)
|
|
|
|
|
|
def qux():
|
|
f, _ = foo()
|
|
print(f)
|
|
|
|
|
|
def quux():
|
|
g, h = foo()
|
|
print(g, h)
|
|
|
|
|
|
def quuz():
|
|
_i, _j = foo()
|