dingykhan1 / scoop

Automatically exported from code.google.com/p/scoop
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Can not use scoop with nosetests #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install nosetests (1.1.2) and scoop (0.5.3)
2. Just run 'python -m scoop /usr/bin/nosetests' in any directory. (This does 
not have to be a project directory.)
3. This is the error message I get:

Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/home/toon/.local/lib/python2.7/site-packages/scoop/bootstrap/__main__.py", line 86, in <module>
    user_module = __import__(os.path.basename(executable)[:-3])
ImportError: No module named nosete

What is the expected output? What do you see instead?

nosetests should end with an error.

What version of the product are you using? On what operating system?

scoop: 0.5.3
nosetests: 1.1.2
python: 2.7.3
OS: linux (3.2.0-32-generic) ubuntu 12.04

Original issue reported on code.google.com by Toon.Verstraelen@gmail.com on 15 Nov 2012 at 11:19

GoogleCodeExporter commented 8 years ago
Thanks for your bug report.

A new patch has been submitted to the repository which corrects this behavior.
You can get more information on this patch on changeset 4885056d6bcf ( 
https://code.google.com/p/scoop/source/detail?r=4885056d6bcfcb5a5c2ad5fc5296979d
2aa893f0 ) It will be incorporated in the 0.6.1 release.

Original comment by yannickh...@gmail.com on 30 Jan 2013 at 12:42

GoogleCodeExporter commented 8 years ago
Thank you. I can confirm that it works now.

Original comment by Toon.Verstraelen@gmail.com on 2 Feb 2013 at 8:56