]> granicus.if.org Git - python/commitdiff
Issue #24164: Fix test_pyclbr
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 12 Oct 2015 12:38:24 +0000 (14:38 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 12 Oct 2015 12:38:24 +0000 (14:38 +0200)
Ignore pickle.partial symbol which comes from functools.partial.

Lib/test/test_pyclbr.py

index cab430b4bd39add63a444f7ca68326822cfc10eb..48bd72590fedba0537bb146ae7859a5d7dfcf863 100644 (file)
@@ -156,7 +156,7 @@ class PyclbrTest(TestCase):
         # These were once about the 10 longest modules
         cm('random', ignore=('Random',))  # from _random import Random as CoreGenerator
         cm('cgi', ignore=('log',))      # set with = in module
-        cm('pickle')
+        cm('pickle', ignore=('partial',))
         cm('aifc', ignore=('openfp', '_aifc_params'))  # set with = in module
         cm('sre_parse', ignore=('dump', 'groups')) # from sre_constants import *; property
         cm('pdb')