Skip to content

Commit 33ce9b3

Browse files
committed
Add one more test for different memory pointed by copied obj
1 parent 005a191 commit 33ce9b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_diffraction_objects.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,3 +422,5 @@ def test_copy_object():
422422
)
423423
copy_of_DO = do.copy()
424424
assert do == copy_of_DO
425+
assert id(do) != id(copy_of_DO)
426+

0 commit comments

Comments
 (0)