From 09e33d0a01e5955f21836747f2bcaee6460c95f4 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Tue, 16 Nov 2021 00:49:23 +0000 Subject: [PATCH] Add a failing test for #69 Something to do with type conversion from Python to Tcl. --- tests/tohil.test | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/tohil.test b/tests/tohil.test index 3947b79..1a92552 100755 --- a/tests/tohil.test +++ b/tests/tohil.test @@ -27,6 +27,12 @@ test tohil_eval-1.4 {incorrect usage of eval} \ -returnCodes error \ -result {invalid syntax (, 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} {}} # ========= # tohil::exec # =========