{"action":"closed","issue":{"url":"https://api.github.com/repos/bartvm/blocks/issues/286","labels_url":"https://api.github.com/repos/bartvm/blocks/issues/286/labels{/name}","comments_url":"https://api.github.com/repos/bartvm/blocks/issues/286/comments","events_url":"https://api.github.com/repos/bartvm/blocks/issues/286/events","html_url":"https://github.com/bartvm/blocks/issues/286","id":57708226,"number":286,"title":"test_doctest.py fails to run on OSX","user":{"login":"vdumoulin","id":2034067,"avatar_url":"https://avatars.githubusercontent.com/u/2034067?v=3","gravatar_id":"","url":"https://api.github.com/users/vdumoulin","html_url":"https://github.com/vdumoulin","followers_url":"https://api.github.com/users/vdumoulin/followers","following_url":"https://api.github.com/users/vdumoulin/following{/other_user}","gists_url":"https://api.github.com/users/vdumoulin/gists{/gist_id}","starred_url":"https://api.github.com/users/vdumoulin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vdumoulin/subscriptions","organizations_url":"https://api.github.com/users/vdumoulin/orgs","repos_url":"https://api.github.com/users/vdumoulin/repos","events_url":"https://api.github.com/users/vdumoulin/events{/privacy}","received_events_url":"https://api.github.com/users/vdumoulin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-14T22:04:08Z","updated_at":"2015-02-14T22:09:03Z","closed_at":"2015-02-14T22:09:03Z","body":"I've been unable to run doctests because calling `nosetests tests/test_doctest.py` from the root of the repo raises the following error:\r\n\r\n```\r\n$ nosetests tests/test_doctest.py\r\nE\r\n======================================================================\r\nERROR: test suite for <module 'tests.test_doctest' from '<BLOCKS_DIRECTORY>/blocks/tests/test_doctest.pyc'>\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/suite.py\", line 208, in run\r\n    self.setUp()\r\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/suite.py\", line 291, in setUp\r\n    self.setupContext(ancestor)\r\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/suite.py\", line 314, in setupContext\r\n    try_run(context, names)\r\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/util.py\", line 467, in try_run\r\n    return func(obj)\r\n  File \"<BLOCKS_DIRECTORY>/blocks/tests/test_doctest.py\", line 17, in setup\r\n    testobj.globs['absolute_import'] = absolute_import\r\nAttributeError: 'module' object has no attribute 'globs'\r\n\r\n----------------------------------------------------------------------\r\nRan 0 tests in 0.001s\r\n\r\nFAILED (errors=1)\r\n```\r\n\r\nAbout my setup:\r\n* OSX 10.10.2\r\n* nosetests 1.3.1, installed through macports\r\n* Python 2.7.9, installed through macports"}}