We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55b02b2 commit 1a77ba0Copy full SHA for 1a77ba0
tests/test_pointer.py
@@ -48,8 +48,11 @@ class Tracked:
48
pass
49
50
x = "hello world"
51
- assert to_ptr(x).size == sys.getsizeof(x)
52
- assert to_ptr(Tracked()).size == sys.getsizeof(Tracked())
+ assert to_ptr(x).size() == sys.getsizeof(x)
+
53
+ # This check is an implementation detail.
54
+ # If this doesn't work in the future, feel free to remove it.
55
+ assert to_ptr(Tracked()).size() == sys.getsizeof(Tracked())
56
57
58
def test_move_object():
0 commit comments