The Python tests that were originally converted from Tcl tests contained some odd-looking code. This MR attempts to simplify/pythonify the code.
The Python tests that were originally converted from Tcl tests contained some odd-looking code. This MR attempts to simplify/pythonify the code.