[issue16792] Mark small ints test as CPython-only

Chris Jerdonek report at bugs.python.org
Thu Dec 27 23:32:06 CET 2012


Chris Jerdonek added the comment:

You can use assertIs() in 2.7 as well, no?

+    @test_support.cpython_only
+    def test_small_ints(self):
+        self.assertTrue(int('10') is 10)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16792>
_______________________________________


More information about the Python-bugs-list mailing list