mirror of https://github.com/pyodide/pyodide.git
Remove obsolete code
This commit is contained in:
parent
3a625fad3d
commit
47b2d51522
|
@ -68,12 +68,6 @@ def test_run_core_python_test(python_test, selenium):
|
||||||
" exitcode = n\n"
|
" exitcode = n\n"
|
||||||
" raise SystemExit()\n\n"
|
" raise SystemExit()\n\n"
|
||||||
"sys.exit = exit\n")
|
"sys.exit = exit\n")
|
||||||
# Undo the lazy modules setup -- it interferes with the CPython test
|
|
||||||
# harness
|
|
||||||
selenium.run(
|
|
||||||
"for k in list(sys.modules):\n"
|
|
||||||
" if k.startswith('numpy'):\n"
|
|
||||||
" del sys.modules[k]\n")
|
|
||||||
selenium.run(
|
selenium.run(
|
||||||
"from test.libregrtest import main\n"
|
"from test.libregrtest import main\n"
|
||||||
"main(['{}'], verbose=True, verbose3=True)".format(python_test))
|
"main(['{}'], verbose=True, verbose3=True)".format(python_test))
|
||||||
|
|
Loading…
Reference in New Issue