Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
tssweeney committed Jan 22, 2025
1 parent 6193d2c commit 3c4dec1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/trace/test_dictifiable.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ def func(d: Dictifiable, nd: NonDictifiable) -> Dictifiable:
call = func.calls()[0]

assert call.inputs["d"] == {"attr": val}
assert call.inputs["nd"].startswith('<test_dictifiable.test_dictifiable.<locals>.NonDictifiable object at')
assert call.inputs["nd"].startswith(
"<test_dictifiable.test_dictifiable.<locals>.NonDictifiable object at"
)
assert call.output["d"] == {"attr": val}
assert call.output["nd"].startswith('<test_dictifiable.test_dictifiable.<locals>.NonDictifiable object at')
assert call.output["nd"].startswith(
"<test_dictifiable.test_dictifiable.<locals>.NonDictifiable object at"
)

0 comments on commit 3c4dec1

Please sign in to comment.