fix issue409 -- better interoperate with cx_freeze by not
trying to import from collections.abc which causes problems for py27/cx_freeze.
This commit is contained in:
parent
70c1503afc
commit
699892bd03
|
@ -1,3 +1,10 @@
|
||||||
|
UNRELEASED
|
||||||
|
-----------------------------------
|
||||||
|
|
||||||
|
- fix issue409 -- better interoperate with cx_freeze by not
|
||||||
|
trying to import from collections.abc which causes problems for py27/cx_freeze.
|
||||||
|
Thanks Wolfgang L. for reporting and tracking it down.
|
||||||
|
|
||||||
2.5.1
|
2.5.1
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#
|
#
|
||||||
__version__ = '2.5.1'
|
__version__ = '2.5.2.dev1'
|
||||||
|
|
|
@ -2,13 +2,9 @@
|
||||||
|
|
||||||
import py
|
import py
|
||||||
try:
|
try:
|
||||||
from collections.abc import Sequence
|
from collections import Sequence
|
||||||
except ImportError:
|
except ImportError:
|
||||||
try:
|
Sequence = list
|
||||||
from collections import Sequence
|
|
||||||
except ImportError:
|
|
||||||
Sequence = list
|
|
||||||
|
|
||||||
|
|
||||||
BuiltinAssertionError = py.builtin.builtins.AssertionError
|
BuiltinAssertionError = py.builtin.builtins.AssertionError
|
||||||
u = py.builtin._totext
|
u = py.builtin._totext
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -27,7 +27,7 @@ def main():
|
||||||
name='pytest',
|
name='pytest',
|
||||||
description='py.test: simple powerful testing with Python',
|
description='py.test: simple powerful testing with Python',
|
||||||
long_description = long_description,
|
long_description = long_description,
|
||||||
version='2.5.1',
|
version='2.5.2.dev1',
|
||||||
url='http://pytest.org',
|
url='http://pytest.org',
|
||||||
license='MIT license',
|
license='MIT license',
|
||||||
platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],
|
platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],
|
||||||
|
|
Loading…
Reference in New Issue