Kaydet (Commit) 9d8c4566 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

Merged revisions 82777 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82777 | benjamin.peterson | 2010-07-10 10:14:45 -0500 (Sat, 10 Jul 2010) | 1 line

  ValueError is eventually what we want to move to, I suppose
........
üst e800b275
...@@ -243,8 +243,8 @@ class StructTest(unittest.TestCase): ...@@ -243,8 +243,8 @@ class StructTest(unittest.TestCase):
'\x01' + got) '\x01' + got)
else: else:
# x is out of range -- verify pack realizes that. # x is out of range -- verify pack realizes that.
self.assertRaises((OverflowError, struct.error), pack, self.assertRaises((OverflowError, ValueError, struct.error),
format, x) pack, format, x)
def run(self): def run(self):
from random import randrange from random import randrange
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment