def test_negative_refcount():
    with raises(RuntimeError):
        resource.decrement_refcount()
reference_count cannot be negative
dataset/ETHPy150Open dahlia/wand/tests/_resource_test.py/test_negative_refcount