Work around coverage bug in py3 on Fedora
This commit is contained in:
parent
95f012b27d
commit
0661e0e3eb
3 changed files with 4 additions and 3 deletions
2
Makefile
2
Makefile
|
|
@ -74,8 +74,6 @@ test3:
|
|||
coverage erase
|
||||
PYTHONPATH=hub/.:plugins/hub/.:plugins/builder/. nosetests-3 \
|
||||
--with-coverage --cover-package . tests/test_lib tests/test_cli
|
||||
@echo Sleeping to work around an issue
|
||||
sleep 10
|
||||
coverage html
|
||||
@echo Coverage report in htmlcov/index.html
|
||||
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@
|
|||
# Mike McLean <mikem@redhat.com>
|
||||
# Mike Bonnet <mikeb@redhat.com>
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
import sys
|
||||
from six.moves import range
|
||||
|
|
|
|||
|
|
@ -6,8 +6,10 @@ import sys
|
|||
import threading
|
||||
import traceback
|
||||
from six.moves import range
|
||||
import six
|
||||
|
||||
|
||||
# XXX remove skip when Fedora bug is fixed
|
||||
@unittest.skipIf(six.PY3, "coverage bug Fedora, see rhbz#1452339")
|
||||
class ProfilesTestCase(unittest.TestCase):
|
||||
|
||||
def test_profile_threading(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue