We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d75ec9a commit 66f5351Copy full SHA for 66f5351
Lib/test/test_ctypes/test_memfunctions.py
@@ -60,9 +60,6 @@ def test_cast(self):
60
@support.refcount_test
61
def test_string_at(self):
62
s = string_at(b"foo bar")
63
- # XXX The following may be wrong, depending on how Python
64
- # manages string instances
65
- self.assertEqual(2, sys.getrefcount(s))
66
self.assertTrue(s, "foo bar")
67
68
self.assertEqual(string_at(b"foo bar", 7), b"foo bar")
0 commit comments