test_excutils py34 incompatabilities
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.utils |
Fix Released
|
Medium
|
Joshua Harlow |
Bug Description
It seems oslo.utils has a few test case issues when ran with python 3.4...
$ tox -epy34
GLOB sdist-make: /home/harlowja/
py34 create: /home/harlowja/
py34 installdeps: -r/home/
py34 inst: /home/harlowja/
py34 runtests: commands[0] | python setup.py testr --slowest --testr-args=
running testr
running=
OS_STDERR_
OS_TEST_
${PYTHON:-python} -m subunit.run discover -t ./ . --list
running=
OS_STDERR_
OS_TEST_
${PYTHON:-python} -m subunit.run discover -t ./ . --load-list /tmp/tmpsgqipjkt
running=
OS_STDERR_
OS_TEST_
${PYTHON:-python} -m subunit.run discover -t ./ . --load-list /tmp/tmpcpxxyogo
=======
FAIL: tests.test_
tags: worker-0
-------
traceback-1: {{{
Traceback (most recent call last):
File "/home/
return self._cleanups(
File "/home/
reraise(
File "/home/
raise exc_obj.
File "/home/
cleanup(*args, **kwargs)
File "/home/
mock_
File "/home/
raise ExpectedMethodC
mox3.mox.
0. method.__call__() -> Exception(
}}}
Traceback (most recent call last):
testtools.
stderr
stdout
traceback-1: {{{
Traceback (most recent call last):
File "/home/
return self._cleanups(
File "/home/
reraise(
File "/home/
raise exc_obj.
File "/home/
cleanup(*args, **kwargs)
File "/home/
mock_
File "/home/
raise ExpectedMethodC
mox3.mox.
0. method.__call__() -> Exception(
}}}
Full error report attached...
Pip freeze:
$ pip freeze
Babel==1.3
Jinja2==2.7.3
MarkupSafe==0.23
Pygments==1.6
Sphinx==1.2.3
argparse==1.2.1
coverage==3.7.1
discover==0.4.0
docutils==0.12
extras==0.0.3
fixtures==0.3.16
flake8==2.1.0
hacking==0.9.2
iso8601==0.1.10
mccabe==0.2.1
mock==1.0.1
mox3==0.7.0
netaddr==0.7.12
oslo.config==1.4.0
oslo.i18n==1.0.0
oslo.utils=
oslosphinx==2.2.0
oslotest==1.1.0
pbr==0.10.0
pep8==1.5.6
pyflakes==0.8.1
python-
python-
pytz==2014.7
six==1.8.0
stevedore==1.0.0
testrepository=
testscenarios==0.4
testtools==1.1.0
Changed in oslo.utils: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in oslo.utils: | |
milestone: | none → next-kilo |
assignee: | nobody → Joshua Harlow (harlowja) |
Changed in oslo.utils: | |
status: | Confirmed → Fix Committed |
status: | Fix Committed → Fix Released |
Fixed in https:/ /review. openstack. org/#/c/ 122823/