Skip to content

Commit 6e31158

Browse files
committed
style: ruff wants this
1 parent 8a09fe1 commit 6e31158

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cogapp/test_cogapp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2051,7 +2051,7 @@ def test_threads(self):
20512051
d[f"f{i}.cog"] = (
20522052
"x\n" * i
20532053
+ "[[[cog\n"
2054-
+ f"assert cog.firstLineNum == int(FIRST) == {i+1}\n"
2054+
+ f"assert cog.firstLineNum == int(FIRST) == {i + 1}\n"
20552055
+ "]]]\n"
20562056
+ "[[[end]]]\n"
20572057
)
@@ -2062,7 +2062,7 @@ def test_threads(self):
20622062
def thread_main(num):
20632063
try:
20642064
ret = Cog().main(
2065-
["cog.py", "-r", "-D", f"FIRST={num+1}", f"f{num}.cog"]
2065+
["cog.py", "-r", "-D", f"FIRST={num + 1}", f"f{num}.cog"]
20662066
)
20672067
assert ret == 0
20682068
except Exception as exc: # pragma: no cover (only happens on test failure)

0 commit comments

Comments
 (0)