Skip to content

Commit dec1209

Browse files
committed
Python 2
1 parent d32774d commit dec1209

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: packages/python/plotly/plotly/tests/test_core/test_graph_objs/test_validate.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ def test_validate_false():
2626
# Build figure with variety of invalid properties (both name and value),
2727
# make sure underscore notation is still applied properly
2828

29-
fig = go.Figure(**build_invalid_fig(), validate=False)
29+
fig = go.Figure(validate=False, **build_invalid_fig())
3030
assert json.loads(fig.to_json()) == expected_invalid_dict
3131

3232
with pytest.raises(ValueError):
33-
go.Figure(**build_invalid_fig(), validate=True)
33+
go.Figure(validate=True, **build_invalid_fig())
3434

3535
finally:
3636
pio.templates.default = template

0 commit comments

Comments
 (0)