diff --git a/tests/test_delta.py b/tests/test_delta.py index 4c13ec36..c66a48a1 100644 --- a/tests/test_delta.py +++ b/tests/test_delta.py @@ -2,6 +2,7 @@ import os import io import json +import sys from decimal import Decimal from unittest import mock from deepdiff import Delta, DeepDiff @@ -1054,7 +1055,7 @@ def test_ignore_order_delta_cases( 'root[5]': 10 }, '_numpy_paths': { - 'root': 'int64' + 'root': np.where((sys.maxsize > 2**32), 'int64', 'int32') } }, 'expected_result': 't2'