Silence usage of `reduce` warning in python 2
This commit is contained in:
parent
b7b9c54d27
commit
8b4c59e606
|
@ -0,0 +1 @@
|
|||
Silence usage of ``reduce`` warning in python 2
|
|
@ -1,13 +1,14 @@
|
|||
import inspect
|
||||
import warnings
|
||||
from collections import namedtuple
|
||||
from functools import reduce
|
||||
from operator import attrgetter
|
||||
|
||||
import attr
|
||||
|
||||
from ..deprecated import MARK_PARAMETERSET_UNPACKING, MARK_INFO_ATTRIBUTE
|
||||
from ..compat import NOTSET, getfslineno, MappingMixin
|
||||
from six.moves import map, reduce
|
||||
from six.moves import map
|
||||
|
||||
|
||||
EMPTY_PARAMETERSET_OPTION = "empty_parameter_set_mark"
|
||||
|
|
Loading…
Reference in New Issue