Fix bug in exception handling for which(). Also standardize exceptions
to always be ValueError. Add the beginnings of to_dict()
This commit is contained in:
@@ -55,6 +55,9 @@ def test_failed_import():
|
||||
with pytest.raises(ValueError):
|
||||
bar.foo = foo
|
||||
|
||||
def test_defualt_import_hook():
|
||||
import addressbook_capnp
|
||||
|
||||
def test_add_import_hook():
|
||||
capnp.add_import_hook([this_dir])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user