This change includes a few very small fixes to python scripts in the test/ directory.
I've broken the change roughly by commits, but here is the list of changes:
add a requirements.txt so that it is easy to run the tests on test/..
remove dead code from test/func_test.py that is broken and cannot work.
remove unused imports on a few files
change yaml.load(f) into yaml.safe_load(f) given modern versions of yaml always print a runtime safety warning that load(f) is unsave given it evaluates code inside f.
I have a few other changes and wanted to split out these small fixes into a separate change.
Hopefully these changes aren't contentious.
This change includes a few very small fixes to python scripts in the test/ directory.
I've broken the change roughly by commits, but here is the list of changes:
requirements.txt
so that it is easy to run the tests ontest/..
yaml.load(f)
intoyaml.safe_load(f)
given modern versions of yaml always print a runtime safety warning thatload(f)
is unsave given it evaluates code insidef
.I have a few other changes and wanted to split out these small fixes into a separate change. Hopefully these changes aren't contentious.