diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-02-01 12:13:56 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-02-01 12:13:56 (GMT) |
commit | f02e0aaafd2476948047f0ce904af947f02d18ea (patch) | |
tree | 724366997190a0acf829f65a4f1e96d82c060889 /Lib | |
parent | 211c6258294bf683935bff73a61ce3dd84070988 (diff) | |
download | cpython-f02e0aaafd2476948047f0ce904af947f02d18ea.zip cpython-f02e0aaafd2476948047f0ce904af947f02d18ea.tar.gz cpython-f02e0aaafd2476948047f0ce904af947f02d18ea.tar.bz2 |
Issue #1717: remove the cmp builtin function, the C-API functions
PyObject_Cmp, PyObject_Compare, and various support functions.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_builtin.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py index 284f07e..0aa0d52 100644 --- a/Lib/test/test_builtin.py +++ b/Lib/test/test_builtin.py @@ -220,9 +220,7 @@ class BuiltinTest(unittest.TestCase): self.assertRaises((OverflowError, ValueError), chr, 2**32) def test_cmp(self): - # uncomment the following line once cmp has been removed - #self.assert_(not hasattr(builtins, "cmp")) - pass + self.assert_(not hasattr(builtins, "cmp")) def test_compile(self): compile('print(1)\n', '', 'exec') |