MCPcopy Create free account
hub / github.com/Distributive-Network/PythonMonkey / test_clear

Function test_clear

tests/python/test_lists.py:392–395  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

390
391# clear
392def test_clear():
393 a = pm.eval("[1,2]")
394 a.clear()
395 assert a == []
396
397
398def test_clear_with_arg():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected