summaryrefslogtreecommitdiffstats
path: root/Lib/ctypes
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-07-01 00:43:10 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-07-01 00:43:10 (GMT)
commit77108eb4bf93972c7214729fd8dfce7784308c89 (patch)
treec49801a2ff702891fb8d68b16ddd774863908363 /Lib/ctypes
parent6bcbad5f519d1e09fc32a3a2afc7082245b6080b (diff)
downloadcpython-77108eb4bf93972c7214729fd8dfce7784308c89.zip
cpython-77108eb4bf93972c7214729fd8dfce7784308c89.tar.gz
cpython-77108eb4bf93972c7214729fd8dfce7784308c89.tar.bz2
Merged revisions 73720 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r73720 | benjamin.peterson | 2009-06-30 19:36:41 -0500 (Tue, 30 Jun 2009) | 4 lines fix a few cases where automated fail -> assert translation messed up Thanks Joe Amenta ........
Diffstat (limited to 'Lib/ctypes')
-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 f7d9a1b..03d820e 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):
rc = grc(s)
cs = c_char_p(s)
self.assertEqual(rc + 1, grc(s))
- self.assertTrueSame(cs._objects, s)
+ self.assertSame(cs._objects, s)
def test_simple_struct(self):
class X(Structure):