{"issue":{"created_at":"2011-12-14T15:59:59Z","state":"closed","updated_at":"2011-12-14T16:00:28Z","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":36,"body":"<b>What steps will reproduce the problem?</b>\n\n1.create a simple test generator function like:\n\ndef test_foo():\n    for i in range(10):\n        yield foosleep, i\n\ndef foosleep(n):\n    time.sleep(4)\n\n\n<b>What is the expected output? What do you see instead?</b>\n\nUsing --processes=10, all tests should complete in ~4s.\nInstead, it takes 40s since the next test does not start until the last is finished.\n\n<b>What version of the product are you using? On what operating system?</b>\n\n1.0.0 on ubuntu 10.04 x86-64\n\n<b>Please provide any additional information below.</b>\n\ni'm guessing we need a way to collect all tests before they are sent to the parallelizer?\n\n\nGoogle Code Info:\nIssue #: 399\nAuthor: ffxvzero@gmail.com\nCreated On: 2011-02-19T09:04:15.000Z\nClosed On: 2011-05-02T19:59:00.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":2553394,"labels":[],"number":125,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"multiprocess functionality does not play way with generators","html_url":"https://github.com/nose-devs/nose/issues/125","closed_at":"2011-12-14T15:59:59Z","url":"https://api.github.com/repos/nose-devs/nose/issues/125","milestone":null},"action":"created","comment":{"created_at":"2011-12-14T16:00:28Z","updated_at":"2011-12-14T16:00:28Z","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"},"body":"Yeah, good point, I agree.  The test that I had to skip was a regression for this change, which added pickle support for nose's Config: http://code.google.com/p/python-nose/source/detail?r=36f7de8d99a8#  I'd like to try and find a better test for that, if not too difficult.  There are some other unit tests in TestNoseConfig though.\n\nGoogle Code Info:\nAuthor: kumar.mcmillan\nCreated On: 2011-04-21T13:54:36.000Z","id":3142033,"url":"https://api.github.com/repos/nose-devs/nose/issues/comments/3142033"}}