We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 291d36d commit 7f054a2Copy full SHA for 7f054a2
tests/test_utils/test_schema_builder.py
@@ -247,7 +247,7 @@ def test_add_enum_with_extra_kwargs(
247
elif extra_kwargs.keys() - enum_meta_slots:
248
# Handle the case of extra kwargs include a key that is not a meta slot of
249
# `EnumDefinition`
250
- with pytest.raises(ValueError):
+ with pytest.raises(TypeError):
251
builder.add_enum(enum_def, **extra_kwargs)
252
else:
253
0 commit comments