Skip to content

Commit aff4c40

Browse files
committed
Fix testsuite on 32-bits architectures.
Fixes #302
1 parent 9486037 commit aff4c40

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_delta.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import os
33
import io
44
import json
5+
import sys
56
from decimal import Decimal
67
from unittest import mock
78
from deepdiff import Delta, DeepDiff
@@ -1054,7 +1055,7 @@ def test_ignore_order_delta_cases(
10541055
'root[5]': 10
10551056
},
10561057
'_numpy_paths': {
1057-
'root': 'int64'
1058+
'root': np.where((sys.maxsize > 2**32), 'int64', 'int32')
10581059
}
10591060
},
10601061
'expected_result': 't2'

0 commit comments

Comments
 (0)