Skip to content

Commit b28f040

Browse files
committed
Switch to assertequaldict in test
1 parent ac64ff3 commit b28f040

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

plotly/tests/test_optional/test_figure_factory.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1361,10 +1361,8 @@ def test_df_dataframe_all_args(self):
13611361
self.assertEqual(test_gantt_chart['data'][1],
13621362
exp_gantt_chart['data'][1])
13631363

1364-
self.assertEqual(test_gantt_chart['layout'],
1365-
exp_gantt_chart['layout'])
1366-
1367-
self.maxDiff = None
1364+
self.assert_dict_equal(test_gantt_chart['layout'],
1365+
exp_gantt_chart['layout'])
13681366

13691367

13701368
class TestViolin(NumpyTestUtilsMixin, TestCase):

0 commit comments

Comments
 (0)