Skip to content

Commit ef4be8c

Browse files
committed
Replace "ans" with "answer" to avoid being close to typo of "and"
1 parent 151be42 commit ef4be8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/typed_graph.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,6 @@ def run_g5() -> None:
109109
g5.run_sync(A()) # pyright: ignore[reportArgumentType]
110110
g5.run_sync(A(), state=MyState(x=1)) # pyright: ignore[reportArgumentType]
111111
g5.run_sync(A(), deps=MyDeps(y='y')) # pyright: ignore[reportArgumentType]
112-
ans, history = g5.run_sync(A(), state=MyState(x=1), deps=MyDeps(y='y'))
113-
assert_type(ans, int)
112+
answer, history = g5.run_sync(A(), state=MyState(x=1), deps=MyDeps(y='y'))
113+
assert_type(answer, int)
114114
assert_type(history, list[HistoryStep[MyState, int]])

0 commit comments

Comments
 (0)