Fix for upstream changes in kj::Exception
* Change from using Nature/Durability to Type * Prefer to raise KjException directly instead of Value/RuntimError. * Will still raise AttributeError appropriately.
This commit is contained in:
@@ -52,7 +52,7 @@ def test_failed_import():
|
||||
|
||||
foo.name = 'foo'
|
||||
|
||||
with pytest.raises(ValueError):
|
||||
with pytest.raises(Exception):
|
||||
bar.foo = foo
|
||||
|
||||
def test_defualt_import_hook():
|
||||
|
||||
Reference in New Issue
Block a user