Bug 733006 - missing dependency : pytest : ImportError: No module named unittest2
Summary: missing dependency : pytest : ImportError: No module named unittest2
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-logilab-common
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-08-24 12:52 UTC by pankaj pandey
Modified: 2012-03-15 16:03 UTC (History)
2 users (show)

Fixed In Version: python-logilab-common-0.57.1-2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-15 16:03:56 UTC


Attachments (Terms of Use)

Description pankaj pandey 2011-08-24 12:52:00 UTC
Description of problem:
The pytest executable does not run.

Version-Release number of selected component (if applicable):
python-logilab-common-0.53.0-2.fc15.noarch

Steps to Reproduce:
1. install python-logilab-common
2. run in a terminal
 $ pytest
  
Actual results:
$ pytest
Traceback (most recent call last):
  File "/usr/bin/pytest", line 3, in <module>
    from logilab.common.pytest import run
  File "/usr/lib/python2.7/site-packages/logilab/common/pytest.py", line 119, in <module>
    from logilab.common import testlib, STD_BLACKLIST
  File "/usr/lib/python2.7/site-packages/logilab/common/testlib.py", line 63, in <module>
    import unittest2 as unittest
ImportError: No module named unittest2

Expected results:
pytest should not crash but show some useful information

Additional info:
It seems the package is missing dependency on python-unittest2

Comment 1 Brian Lane 2012-03-15 16:03:56 UTC
current release does not traceback w/o unittest2 installed.


Note You need to log in before you can comment on or make changes to this bug.