Skip failing test if LIBCAPNP_VERSION < v0.5.0
This commit is contained in:
@@ -77,6 +77,7 @@ def test_which_reader(addressbook):
|
|||||||
addresses.which
|
addresses.which
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.skipif(capnp.version.LIBCAPNP_VERSION < 5000, reason="Using ints as enums requires v0.5.0+ of the C++ capnp library")
|
||||||
def test_enum(addressbook):
|
def test_enum(addressbook):
|
||||||
addresses = addressbook.AddressBook.new_message()
|
addresses = addressbook.AddressBook.new_message()
|
||||||
people = addresses.init('people', 2)
|
people = addresses.init('people', 2)
|
||||||
|
|||||||
Reference in New Issue
Block a user