pypy/module/pyexpat/test/apptest_pyexpat.py::test_set_activation_threshold
def test_set_activation_threshold():
parser = pyexpat.ParserCreate()
# Raises on error
> parser.SetAllocTrackerActivationThreshold(1000)
E (application-level) ExpatError: parser must be a root parser
module\pyexpat\test\apptest_pyexpat.py:14: ExpatError
builder: own-win-x86-64 build #2232
test: pypy/module/pyexpat/test/apptest_pyexpat/py/test_set_activation_threshold