fix py3 compat
This commit is contained in:
parent
a324826dfd
commit
ae53d04780
|
@ -1,2 +1,2 @@
|
|||
#
|
||||
__version__ = '2.2.0.dev2'
|
||||
__version__ = '2.2.0.dev3'
|
||||
|
|
|
@ -35,9 +35,10 @@ def pytest_terminal_summary(terminalreporter):
|
|||
alldurations += rep.duration
|
||||
if not duration2rep:
|
||||
return
|
||||
d2 = remaining = duration2rep.items()
|
||||
d2 = list(duration2rep.items())
|
||||
d2.sort()
|
||||
d2.reverse()
|
||||
remaining = []
|
||||
if not durations:
|
||||
tr.write_sep("=", "slowest test durations")
|
||||
else:
|
||||
|
|
2
setup.py
2
setup.py
|
@ -24,7 +24,7 @@ def main():
|
|||
name='pytest',
|
||||
description='py.test: simple powerful testing with Python',
|
||||
long_description = long_description,
|
||||
version='2.2.0.dev2',
|
||||
version='2.2.0.dev3',
|
||||
url='http://pytest.org',
|
||||
license='MIT license',
|
||||
platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],
|
||||
|
|
Loading…
Reference in New Issue