tests/README
author Yuya Nishihara <yuya@tcha.org>
Sat, 12 Oct 2019 20:26:38 +0900
changeset 43477 ed50f2c31a4c
parent 26421 4b0fc75f9403
permissions -rw-r--r--
rust-cpython: allow mutation unless leaked reference is borrowed In other words, mutation is allowed while a Python iterator holding PyLeaked exists. The iterator will be invalidated instead. We still need a borrow_count to prevent mutation while leaked data is dereferenced in Rust world, but most leak_count business is superseded by the generation counter. decrease_leak_count(py, true) will be removed soon.

To run the tests, do:

cd tests/
python run-tests.py

See https://mercurial-scm.org/wiki/WritingTests for
more information on writing tests.