Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import errors in zope.browserresource.tests.test_i18nfile #8

Closed
stanislavlevin opened this issue Mar 6, 2018 · 0 comments · Fixed by #9
Closed

import errors in zope.browserresource.tests.test_i18nfile #8

stanislavlevin opened this issue Mar 6, 2018 · 0 comments · Fixed by #9

Comments

@stanislavlevin
Copy link

I run tests by python setup.py test -v
and faced an error:

...
runTest (zope.testrunner.find.StartUpFailure)
StartUpFailure: import errors in zope.browserresource.tests.test_i18nfile. ... ERROR
test (zope.browserresource.tests.test_icondirective.Test) ... ok
...
======================================================================
ERROR: runTest (zope.testrunner.find.StartUpFailure)
StartUpFailure: import errors in zope.browserresource.tests.test_i18nfile.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/zope/testrunner/find.py", line 149, in runTest
    six.reraise(*self.exc_info)
  File "/usr/src/RPM/BUILD/python-module-zope.browserresource-4.2.1/src/zope/browserresource/tests/test_i18nfile.py", line 40, in <module>
    from zope.i18n.tests.testii18naware import TestII18nAware
ImportError: No module named testii18naware
----------------------------------------------------------------------
Ran 47 tests in 0.202s

FAILED (errors=1)
Test failed: <unittest.runner.TextTestResult run=47 errors=1 failures=0>
error: Test failed: <unittest.runner.TextTestResult run=47 errors=1 failures=0>

After ac16be8fed6cc840ad0f3244c883c8b7a672f643 there is no more
testiii18naware.py within i18n.

jamadden added a commit that referenced this issue Mar 6, 2018
Fixes #8

Also fix whitespace warnings in test_i18nfile.py and remove unneeded use of test_suite (since we're not importing TestI18NAware anymore).
jamadden added a commit that referenced this issue Mar 6, 2018
Fixes #8

Also fix whitespace warnings in test_i18nfile.py and remove unneeded use of test_suite (since we're not importing TestI18NAware anymore).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant