We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4c0b48 commit d3f9249Copy full SHA for d3f9249
tests/test_thread.py
@@ -57,9 +57,7 @@ def test_bind_shared_instance():
57
def access_shared_instance():
58
b.wait()
59
for _ in range(1000):
60
- # assign to local variable to make ruff happy
61
- x = m.EmptyStruct.SharedInstance
62
- del x
+ m.EmptyStruct.SharedInstance # noqa: B018
63
64
threads = [
65
threading.Thread(target=access_shared_instance) for _ in range(nb_threads)
0 commit comments