MCPcopy Index your code
hub / github.com/pyodide/pyodide / test_py2js_buffer_clear_error_flag

Function test_py2js_buffer_clear_error_flag

packages/numpy/test_numpy.py:117–127  ·  view source on GitHub ↗
(selenium)

Source from the content-addressed store, hash-verified

115
116@pytest.mark.skip_pyproxy_check
117def test_py2js_buffer_clear_error_flag(selenium):
118 selenium.load_package("numpy")
119 selenium.run("import numpy as np")
120 selenium.run("x = np.array([['string1', 'string2'], ['string3', 'string4']])")
121 selenium.run_js(
122 """
123 pyodide.globals.get("x")
124 // Implicit assertion: this doesn't leave python error indicator set
125 // (automatically checked in conftest.py)
126 """
127 )
128
129
130@pytest.mark.skip_pyproxy_check

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…