Fix a few pycodestyle & pystyle issues

This commit is contained in:
Roman Zeyde
2023-02-04 18:41:54 +02:00
parent 2e61c84ca6
commit a9bcabc664
8 changed files with 46 additions and 43 deletions

View File

@@ -102,7 +102,7 @@ def test_spawn():
def thread(x):
obj.append(x)
with server.spawn(thread, dict(x=1)):
with server.spawn(thread, {'x': 1}):
pass
assert obj == [1]