diff options
author | Raymond Hettinger <python@rcn.com> | 2014-06-14 16:43:35 -0700 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2014-06-14 16:43:35 -0700 |
commit | 48f68d00b8e017050489635c04c82153a345a336 (patch) | |
tree | 3aacfe3a6c6998200bf003619319f4cc3616b8a6 /Lib/test/test_heapq.py | |
parent | 892051af95729098ce4f5fc7f17ca7049c100b14 (diff) | |
download | cpython-git-48f68d00b8e017050489635c04c82153a345a336.tar.gz |
Factor common code into internal functions.
Clean-up names of static functions.
Use Py_RETURN_NONE macro.
Expose private functions needed to support merge().
Move C imports to the bottom of the Python file.
Diffstat (limited to 'Lib/test/test_heapq.py')
-rw-r--r-- | Lib/test/test_heapq.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_heapq.py b/Lib/test/test_heapq.py index 685797af9e..0dcd8c5161 100644 --- a/Lib/test/test_heapq.py +++ b/Lib/test/test_heapq.py @@ -13,8 +13,8 @@ c_heapq = support.import_fresh_module('heapq', fresh=['_heapq']) # _heapq.nlargest/nsmallest are saved in heapq._nlargest/_smallest when # _heapq is imported, so check them there -func_names = ['heapify', 'heappop', 'heappush', 'heappushpop', - 'heapreplace', '_heapreplace_max'] +func_names = ['heapify', 'heappop', 'heappush', 'heappushpop', 'heapreplace', + '_heappop_max', '_heapreplace_max', '_heapify_max'] class TestModules(TestCase): def test_py_functions(self): |