Skip to content

Commit 27b7d0d

Browse files
committed
improved tests
1 parent f29d930 commit 27b7d0d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_util.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,8 @@ def test_array_deepcopy_d(self) -> None:
230230
mutable = [3, 4, 5]
231231
a1 = np.array((None, 'foo', True, mutable))
232232
a2 = array_deepcopy(a1, memo=memo)
233-
233+
self.assertIsNot(a1, a2)
234+
self.assertTrue(id(mutable) in memo)
234235

235236
def test_array_deepcopy_e(self) -> None:
236237
a1 = np.array((3, 4, 5))

0 commit comments

Comments
 (0)