summaryrefslogtreecommitdiffstats
path: root/Lib/ctypes/test
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-07-01 00:36:41 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-07-01 00:36:41 (GMT)
commit4d3f18f2ede442fe2fc28357e4f5ab849f36e12b (patch)
tree9f89fd40ca244610d209c2f8d8a15c6ec0efc9be /Lib/ctypes/test
parent6b0032f2c359cdad4cf56cfe43d00f70dac36fb7 (diff)
downloadcpython-4d3f18f2ede442fe2fc28357e4f5ab849f36e12b.zip
cpython-4d3f18f2ede442fe2fc28357e4f5ab849f36e12b.tar.gz
cpython-4d3f18f2ede442fe2fc28357e4f5ab849f36e12b.tar.bz2
fix a few cases where automated fail -> assert translation messed up
Thanks Joe Amenta
Diffstat (limited to 'Lib/ctypes/test')
-rw-r--r--Lib/ctypes/test/test_internals.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/ctypes/test/test_internals.py b/Lib/ctypes/test/test_internals.py
index 070da46..2f94670 100644
--- a/Lib/ctypes/test/test_internals.py
+++ b/Lib/ctypes/test/test_internals.py
@@ -18,7 +18,7 @@ What about pointers?
"""
class ObjectsTestCase(unittest.TestCase):
- def assertTrueSame(self, a, b):
+ def assertSame(self, a, b):
self.assertEqual(id(a), id(b))
def test_ints(self):
@@ -33,7 +33,7 @@ class ObjectsTestCase(unittest.TestCase):
self.assertEqual(3, grc(s))
cs = c_char_p(s)
self.assertEqual(4, grc(s))
- self.assertTrueSame(cs._objects, s)
+ self.assertSame(cs._objects, s)
def test_simple_struct(self):
class X(Structure):