We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d32774d commit dec1209Copy full SHA for dec1209
packages/python/plotly/plotly/tests/test_core/test_graph_objs/test_validate.py
@@ -26,11 +26,11 @@ def test_validate_false():
26
# Build figure with variety of invalid properties (both name and value),
27
# make sure underscore notation is still applied properly
28
29
- fig = go.Figure(**build_invalid_fig(), validate=False)
+ fig = go.Figure(validate=False, **build_invalid_fig())
30
assert json.loads(fig.to_json()) == expected_invalid_dict
31
32
with pytest.raises(ValueError):
33
- go.Figure(**build_invalid_fig(), validate=True)
+ go.Figure(validate=True, **build_invalid_fig())
34
35
finally:
36
pio.templates.default = template
0 commit comments