summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2008-04-04 08:35:44 (GMT)
committerThomas Heller <theller@ctypes.org>2008-04-04 08:35:44 (GMT)
commit8e8ba151dde6e36a972ef64240f48d63251c43a5 (patch)
treed0424670885e5c68f855327ce0e4c9ad8d025c2a /Lib
parent46c58c17f18b87f4a3d3d363f171cff1715981d1 (diff)
downloadcpython-8e8ba151dde6e36a972ef64240f48d63251c43a5.zip
cpython-8e8ba151dde6e36a972ef64240f48d63251c43a5.tar.gz
cpython-8e8ba151dde6e36a972ef64240f48d63251c43a5.tar.bz2
Issue #2543: Make ctypes compatible (again) with Python 2.3, 2.4, and 2.5.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/ctypes/test/test_prototypes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ctypes/test/test_prototypes.py b/Lib/ctypes/test/test_prototypes.py
index 5a4117a..33deae3 100644
--- a/Lib/ctypes/test/test_prototypes.py
+++ b/Lib/ctypes/test/test_prototypes.py
@@ -57,7 +57,7 @@ class CharPointersTestCase(unittest.TestCase):
try:
func()
- except TypeError as details:
+ except TypeError, details:
self.failUnlessEqual(str(details), "required argument 'input' missing")
else:
self.fail("TypeError not raised")