nose-devs/nose — Issue #139: python setup.py nosetests broken in 0.10.2 with setup.cfg options
Author: jpellerin
Created: 2011-12-14 16:01:26+00:00
State: open

nosetests.commands.Command.run references a method cfgToArg in the Config class, which
was removed in r477.

This breaks python setup.py nosetests when setup.cfg includes a [nosetests] section with
options. The follow exception is raised:

Traceback (most recent call last):
File "setup.py", line 109, in ?
entry_points="""
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/core.py
", line 149, in setup
dist.run_commands()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/dist.py
", line 946, in run_commands
self.run_command(cmd)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/dist.py
", line 966, in run_command
cmd_obj.run()
File "/Users/pjenvey/src/python/pylonsdevenv/lib/python2.4/site-packages/nose-0.10.2-
py2.4.egg/nose/commands.py", line 119, in run
argv.extend(
AttributeError: 'Config' object has no attribute 'cfgToArg'

Google Code Info:
Issue #: 191
Author: pjenvey%...@gtempaccount.com
Created On: 2008-05-31T22:40:29.000Z
Closed On: 2008-06-02T23:27:23.000Z