tests
test_python-restart_interpreter.py
Go to the documentation of this file.
1
# numpy causes troubles when Py_Finalize is called in Interpreter destructor.
2
import
numpy
# noqa
3
4
# Make sure the variable is deleted.
5
if
"var"
in
locals()
or
"var"
in
globals():
6
raise
ValueError(
"Not cleaned"
)
7
8
var =
"This string should have been deleted."
dynamic-graph-python
Author(s): Nicolas Mansard, Olivier Stasse
autogenerated on Fri Oct 27 2023 02:16:36