MCPcopy
hub / github.com/pyodide/pyodide / test_array_pop

Function test_array_pop

src/tests/test_jsproxy.py:1424–1429  ·  view source on GitHub ↗
(selenium)

Source from the content-addressed store, hash-verified

1422
1423@run_in_pyodide
1424def test_array_pop(selenium):
1425 from pyodide.code import run_js
1426
1427 a = run_js("[1, 2, 3]")
1428 assert a.pop() == 3
1429 assert a.pop(0) == 1
1430
1431
1432@std_hypothesis_settings

Callers

nothing calls this directly

Calls 2

run_jsFunction · 0.90
popMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…