mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Fix SF bug #688424, 64-bit test problems
This commit is contained in:
parent
4edaa0d516
commit
eb2a5ef36a
2 changed files with 8 additions and 3 deletions
|
@ -173,7 +173,7 @@ class SysModuleTest(unittest.TestCase):
|
|||
|
||||
def test_getframe(self):
|
||||
self.assertRaises(TypeError, sys._getframe, 42, 42)
|
||||
self.assertRaises(ValueError, sys._getframe, sys.maxint)
|
||||
self.assertRaises(ValueError, sys._getframe, 2000000000)
|
||||
self.assert_(
|
||||
SysModuleTest.test_getframe.im_func.func_code \
|
||||
is sys._getframe().f_code
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue