Skip to content

Test errors with Python 3.4 #28

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

Closed
pylint-bot opened this issue Apr 27, 2014 · 1 comment
Closed

Test errors with Python 3.4 #28

pylint-bot opened this issue Apr 27, 2014 · 1 comment
Labels

Comments

@pylint-bot
Copy link

Originally reported by: Arfrever Frehtes Taifersar Arahesis (BitBucket: arfrever, GitHub: @Arfrever?)


Test suite triggers exceptions with Python 3.4. I use Astroid 1.1.0.

========================  unittest_nodes.py  =========================
unhandled exception occurred while testing unittest_nodes
Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/logilab/common/pytest.py", line 429, in testfile
    options=self.options, outstream=sys.stderr)
  File "/usr/lib64/python3.4/site-packages/logilab/common/pytest.py", line 765, in __init__
    testLoader=NonStrictTestLoader())
  File "/usr/lib64/python3.4/unittest/main.py", line 63, in __init__
    self.module = __import__(module)
  File "/tmp/astroid-1.1.0/build/lib/astroid/test/unittest_nodes.py", line 28, in <module>
    from data import module as test_module
ImportError: cannot import name 'module'
=======================  unittest_builder.py  ========================
unhandled exception occurred while testing unittest_builder
Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/logilab/common/pytest.py", line 429, in testfile
    options=self.options, outstream=sys.stderr)
  File "/usr/lib64/python3.4/site-packages/logilab/common/pytest.py", line 765, in __init__
    testLoader=NonStrictTestLoader())
  File "/usr/lib64/python3.4/unittest/main.py", line 63, in __init__
    self.module = __import__(module)
  File "/tmp/astroid-1.1.0/build/lib/astroid/test/unittest_builder.py", line 38, in <module>
    from data import module as test_module
ImportError: cannot import name 'module'

@pylint-bot
Copy link
Author

Original comment by Torsten Marek (BitBucket: tmarek, GitHub: @tmarek?):


This is fixed with the latest versions of astroid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant