Przeglądaj źródła

Update 40_class.py

blueloveTH 3 lat temu
rodzic
commit
4bb29e8233
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      tests/40_class.py

+ 1 - 1
tests/40_class.py

@@ -98,4 +98,4 @@ class A(void_p):
     pass
     
 a = A()
-assert repr(a) == '<void* at (nil)>'
+assert repr(a).startswith('<void* at')