(selenium)
| 115 | |
| 116 | @pytest.mark.skip_pyproxy_check |
| 117 | def 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 |
nothing calls this directly
no test coverage detected
searching dependent graphs…