Commit 9f89ae2b authored by Boxiang Sun's avatar Boxiang Sun

these two test are passed now

parent 81a372d9
# expected: reffail
import sys import sys
import unittest import unittest
...@@ -369,7 +368,6 @@ class IntTestCases(IntLongCommonTests, unittest.TestCase): ...@@ -369,7 +368,6 @@ class IntTestCases(IntLongCommonTests, unittest.TestCase):
def test_error_on_string_base(self): def test_error_on_string_base(self):
self.assertRaises(TypeError, int, 100, base='foo') self.assertRaises(TypeError, int, 100, base='foo')
@test_support.cpython_only
def test_small_ints(self): def test_small_ints(self):
self.assertIs(int('10'), 10) self.assertIs(int('10'), 10)
self.assertIs(int('-1'), -1) self.assertIs(int('-1'), -1)
......
# expected: reffail
# Python test set -- math module # Python test set -- math module
# XXXX Should not do tests around zero only # XXXX Should not do tests around zero only
......
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