mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Merge 3.2
This commit is contained in:
commit
aabbda5354
27 changed files with 51 additions and 54 deletions
|
@ -5,7 +5,6 @@ import textwrap
|
|||
import unittest
|
||||
import functools
|
||||
import contextlib
|
||||
import collections.abc
|
||||
from test import support
|
||||
from nntplib import NNTP, GroupInfo, _have_ssl
|
||||
import nntplib
|
||||
|
@ -247,7 +246,7 @@ class NetworkedNNTPTestsMixin:
|
|||
if not name.startswith('test_'):
|
||||
continue
|
||||
meth = getattr(cls, name)
|
||||
if not isinstance(meth, collections.abc.Callable):
|
||||
if not callable(meth):
|
||||
continue
|
||||
# Need to use a closure so that meth remains bound to its current
|
||||
# value
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue