{"action":"closed","issue":{"url":"https://api.github.com/repos/nose-devs/nose/issues/935","labels_url":"https://api.github.com/repos/nose-devs/nose/issues/935/labels{/name}","comments_url":"https://api.github.com/repos/nose-devs/nose/issues/935/comments","events_url":"https://api.github.com/repos/nose-devs/nose/issues/935/events","html_url":"https://github.com/nose-devs/nose/issues/935","id":95274898,"number":935,"title":"Output is not captured if exception happened when importing test module","user":{"login":"Vlad-Shcherbina","id":302938,"avatar_url":"https://avatars.githubusercontent.com/u/302938?v=3","gravatar_id":"","url":"https://api.github.com/users/Vlad-Shcherbina","html_url":"https://github.com/Vlad-Shcherbina","followers_url":"https://api.github.com/users/Vlad-Shcherbina/followers","following_url":"https://api.github.com/users/Vlad-Shcherbina/following{/other_user}","gists_url":"https://api.github.com/users/Vlad-Shcherbina/gists{/gist_id}","starred_url":"https://api.github.com/users/Vlad-Shcherbina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vlad-Shcherbina/subscriptions","organizations_url":"https://api.github.com/users/Vlad-Shcherbina/orgs","repos_url":"https://api.github.com/users/Vlad-Shcherbina/repos","events_url":"https://api.github.com/users/Vlad-Shcherbina/events{/privacy}","received_events_url":"https://api.github.com/users/Vlad-Shcherbina/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-15T19:48:44Z","updated_at":"2015-07-15T20:54:57Z","closed_at":"2015-07-15T20:54:57Z","body":"example_tests.py:\r\n```python\r\nprint('hello, world')\r\nassert False\r\n```\r\n\r\nI run `python -m nose` in the directory with this file. I get\r\n```\r\nF\r\n======================================================================\r\nFAIL: Failure: AssertionError ()\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  ...\r\nAssertionError\r\n\r\n----------------------------------------------------------------------\r\nRan 1 test in 0.003s\r\n\r\nFAILED (failures=1)\r\n```\r\n\r\nThere is no\r\n```\r\n-------------------- >> begin captured stdout << ---------------------\r\nhello, world\r\n--------------------- >> end captured stdout << ----------------------\r\n```\r\nsection like the one I would get if particular test method failed.\r\n\r\nObserved on CPython 3.4.3 with nose 1.3.6."}}