tests fail on python2 #5
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
ERROR: apps.base.tests.test_views (unittest.loader.ModuleImportFailure)
ImportError: Failed to import test module: apps.base.tests.test_views
Traceback (most recent call last):
File "/usr/lib64/python2.7/unittest/loader.py", line 254, in _find_tests
module = self._get_module_from_name(name)
File "/usr/lib64/python2.7/unittest/loader.py", line 232, in _get_module_from_name
import(name)
File "/var/lib/buildbot/master/workers/local/django-test-test-python2/build/apps/base/tests/test_views.py", line 8, in
from unittest import mock
ImportError: cannot import name mock