Skip to content

Commit

Permalink
Add a failing test for #69
Browse files Browse the repository at this point in the history
Something to do with type conversion from Python to Tcl.
  • Loading branch information
NasaGeek committed Nov 16, 2021
1 parent fca66e0 commit 09e33d0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/tohil.test
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ test tohil_eval-1.4 {incorrect usage of eval} \
-returnCodes error \
-result {invalid syntax (<string>, line 1)}

test tohil_eval-1.5 {Regression test: eval was having some trouble with inspect.getmembers} \
-body {
tohil::import inspect
lindex [tohil::eval {inspect.getmembers(inspect)}] 0
} \
-result {{ArgInfo} {<class 'inspect.ArgInfo'>}}
# =========
# tohil::exec
# =========
Expand Down

0 comments on commit 09e33d0

Please sign in to comment.