mirror of https://github.com/pyodide/pyodide.git
Fix matplotlib and mark test_rlcompleter as crashing
This commit is contained in:
parent
ce15a29157
commit
ee8ac7471e
|
@ -368,7 +368,7 @@ test_repl subprocess
|
||||||
test_reprlib
|
test_reprlib
|
||||||
test_resource
|
test_resource
|
||||||
test_richcmp
|
test_richcmp
|
||||||
test_rlcompleter
|
test_rlcompleter crash
|
||||||
test_robotparser
|
test_robotparser
|
||||||
test_runpy crash
|
test_runpy crash
|
||||||
test_sax
|
test_sax
|
||||||
|
|
|
@ -3,7 +3,6 @@ def test_matplotlib(selenium):
|
||||||
selenium.run("from matplotlib import pyplot as plt")
|
selenium.run("from matplotlib import pyplot as plt")
|
||||||
selenium.run("plt.figure()")
|
selenium.run("plt.figure()")
|
||||||
selenium.run("x = plt.plot([1,2,3])")
|
selenium.run("x = plt.plot([1,2,3])")
|
||||||
selenium.run("plt.destroy_all()")
|
|
||||||
|
|
||||||
|
|
||||||
def test_svg(selenium):
|
def test_svg(selenium):
|
||||||
|
@ -17,4 +16,3 @@ def test_svg(selenium):
|
||||||
content = selenium.run("fd.getvalue().decode('utf8')")
|
content = selenium.run("fd.getvalue().decode('utf8')")
|
||||||
assert len(content) == 15752
|
assert len(content) == 15752
|
||||||
assert content.startswith("<?xml")
|
assert content.startswith("<?xml")
|
||||||
selenium.run("plt.destroy_all()")
|
|
||||||
|
|
Loading…
Reference in New Issue