{"issue":{"created_at":"2011-12-14T16:08:46Z","state":"closed","updated_at":"2011-12-14T16:08:46Z","user":{"gravatar_id":"86e49052bd9a5fb3eabfd7368b68bbb7","id":34519,"url":"https://api.github.com/users/jpellerin","login":"jpellerin","avatar_url":"https://secure.gravatar.com/avatar/86e49052bd9a5fb3eabfd7368b68bbb7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":0,"body":"<b>What steps will reproduce the problem?</b>\n\n1. Type \"nosetests --first-package-wins --verbosity 3 --with-doctest\" in \nany arbitrary folder\n\n\n<b>What is the expected output? What do you see instead?</b>\n\nNose should discover any unit and doc tests within the current folder, \nthen execute them with increased verbosity and without screwing-up any \ndependencies between one namespace package and another. Instead, the \nfollowing error message is presented to the user:\n\nFailure: OSError (No such file C:\\Sandboxes\\testme\\3) ... ERROR\n\n======================================================================\nERROR: Failure: OSError (No such file C:\\Sandboxes\\testme\\3)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"C:\\Sandboxes\\python-nose\\nose\\failure.py\", line 39, in runTest\n    raise self.exc_class(self.exc_val)\nOSError: No such file C:\\Sandboxes\\testme\\3\n\n----------------------------------------------------------------------\nXML: build/nosetests.xml\n----------------------------------------------------------------------\nRan 1 test in 0.008s\n\nFAILED (errors=1)\n\n\n<b>What version of the product are you using? On what operating system?</b>\n\nNosetest 0.11.2.dev and 0.11.1 on Windows Vista and Ubuntu Linux\n\n\n<b>Please provide any additional information below.</b>\n\nIn config.py, the OptionParser configuration for the new \"--first-package-\nwins\" option is missing its \"store_true\" action attribute, thus causing \nthe first-package-wins (once used) to consume the next parameter \nimmediately following it on the original nose command line as its value.\n\nUnfortunately, this also proves especially nasty for anything configured \nvia the nose setuptools integration, mainly because commands.py currently \ncauses all key-value pairs within setup.cfg (such as \"verbosity=3\") to \nappear as two separate arguments when seen from within config.py (instead \nof simply concatinating them into \"--verbosity=3\" as any human user would \ndo).\n\n\nGoogle Code Info:\nIssue #: 293\nAuthor: ckess...@gmail.com\nCreated On: 2009-10-03T01:11:41.000Z\nClosed On: 2011-06-17T18:59:30.000Z","assignee":{"gravatar_id":"86e49052bd9a5fb3eabfd7368b68bbb7","id":34519,"url":"https://api.github.com/users/jpellerin","login":"jpellerin","avatar_url":"https://secure.gravatar.com/avatar/86e49052bd9a5fb3eabfd7368b68bbb7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"id":2553754,"labels":[],"number":347,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"Option \"---first-package-wins\" swallows other command-line parameters due to misconfiguration of OptionParser","html_url":"https://github.com/nose-devs/nose/issues/347","closed_at":"2011-12-14T16:08:46Z","url":"https://api.github.com/repos/nose-devs/nose/issues/347","milestone":null},"action":"closed"}