From 234fb2d503cd8f8bae56eb7fa4d0a88cd1b7c03a Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Sun, 11 May 2014 14:21:23 -0700 Subject: Issue 21424: Apply the nlargest() optimizations to nsmallest() as well. --- Lib/test/test_heapq.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/test/test_heapq.py') diff --git a/Lib/test/test_heapq.py b/Lib/test/test_heapq.py index 1735a19ca8..59c70297e3 100644 --- a/Lib/test/test_heapq.py +++ b/Lib/test/test_heapq.py @@ -13,7 +13,7 @@ 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', '_nsmallest'] + 'heapreplace', '_heapreplace_max'] class TestModules(TestCase): def test_py_functions(self): -- cgit v1.2.1