Skip to content

Commit ab92c7d

Browse files
committed
fix function call
1 parent d8bb3b2 commit ab92c7d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/python/plotly/plotly/tests/test_optional/test_figure_factory/test_figure_factory.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4310,10 +4310,10 @@ def test_optional_arguments(self):
43104310

43114311

43124312
class TestHexbinMapbox(NumpyTestUtilsMixin, TestCaseNoTemplate):
4313-
def assert_dict_equal(self, dict1, dict2, decimal=7):
4313+
def assert_dict_almost_equal(self, dict1, dict2, decimal=7):
43144314
for k, v in dict1.items():
43154315
if isinstance(v, dict):
4316-
assert_dict_equal(self, v, dict2[k], decimal=decimal)
4316+
assert_dict_almost_equal(self, v, dict2[k], decimal=decimal)
43174317
elif isinstance(v, float):
43184318
np.testing.assert_almost_equal(v, dict2[k], decimal=decimal)
43194319
else:
@@ -4427,7 +4427,7 @@ def test_aggregation(self):
44274427

44284428
actual_agg = [2.0, 2.0, 1.0, 3.0, 9.0]
44294429

4430-
self.assert_dict_equal(fig1.data[0].geojson, actual_geojson)
4430+
self.assert_dict_almost_equal(self, fig1.data[0].geojson, actual_geojson)
44314431
assert np.array_equal(fig1.data[0].z, actual_agg)
44324432

44334433
fig2 = ff.create_hexbin_mapbox(

0 commit comments

Comments
 (0)