{"action":"created","issue":{"url":"https://api.github.com/repos/duecredit/duecredit/issues/26","labels_url":"https://api.github.com/repos/duecredit/duecredit/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/duecredit/duecredit/issues/26/comments","events_url":"https://api.github.com/repos/duecredit/duecredit/issues/26/events","html_url":"https://github.com/duecredit/duecredit/issues/26","id":98021058,"number":26,"title":"Syntax error in test_utils.py with python 2.7.6","user":{"login":"mvdoc","id":6150554,"avatar_url":"https://avatars.githubusercontent.com/u/6150554?v=3","gravatar_id":"","url":"https://api.github.com/users/mvdoc","html_url":"https://github.com/mvdoc","followers_url":"https://api.github.com/users/mvdoc/followers","following_url":"https://api.github.com/users/mvdoc/following{/other_user}","gists_url":"https://api.github.com/users/mvdoc/gists{/gist_id}","starred_url":"https://api.github.com/users/mvdoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvdoc/subscriptions","organizations_url":"https://api.github.com/users/mvdoc/orgs","repos_url":"https://api.github.com/users/mvdoc/repos","events_url":"https://api.github.com/users/mvdoc/events{/privacy}","received_events_url":"https://api.github.com/users/mvdoc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-29T20:18:25Z","updated_at":"2015-07-30T04:33:22Z","closed_at":null,"body":"We didn't catch this I believe because travis skips it.\r\n\r\n```\r\nuecredit.tests.test_injections.test_injector_del ... ok\r\nduecredit.tests.test_io.test_import_doi ... ok\r\nduecredit.tests.test_io.test_pickleoutput ... ok\r\nduecredit.tests.test_io.test_text_output ... ok\r\nduecredit.tests.test_io.test_text_output_dump_formatting ... ok\r\nFailure: SyntaxError (unqualified exec is not allowed in function '_test_external' it is a nested function (test_utils.py, line 57)) ... ERROR\r\n\r\n======================================================================\r\nERROR: Failure: SyntaxError (unqualified exec is not allowed in function '_test_external' it is a nested function (test_utils.py, line 57))\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/Users/contematto/virtualenv/duecredit/lib/python2.7/site-packages/nose/loader.py\", line 418, in loadTestsFromName\r\n    addr.filename, addr.module)\r\n  File \"/Users/contematto/virtualenv/duecredit/lib/python2.7/site-packages/nose/importer.py\", line 47, in importFromPath\r\n    return self.importFromDir(dir_path, fqname)\r\n  File \"/Users/contematto/virtualenv/duecredit/lib/python2.7/site-packages/nose/importer.py\", line 94, in importFromDir\r\n    mod = load_module(part_fqname, fh, filename, desc)\r\nSyntaxError: unqualified exec is not allowed in function '_test_external' it is a nested function (test_utils.py, line 57)\r\n\r\n----------------------------------------------------------------------\r\nRan 37 tests in 7.152s\r\n\r\nFAILED (errors=1)\r\n```"},"comment":{"url":"https://api.github.com/repos/duecredit/duecredit/issues/comments/126179387","html_url":"https://github.com/duecredit/duecredit/issues/26#issuecomment-126179387","issue_url":"https://api.github.com/repos/duecredit/duecredit/issues/26","id":126179387,"user":{"login":"mvdoc","id":6150554,"avatar_url":"https://avatars.githubusercontent.com/u/6150554?v=3","gravatar_id":"","url":"https://api.github.com/users/mvdoc","html_url":"https://github.com/mvdoc","followers_url":"https://api.github.com/users/mvdoc/followers","following_url":"https://api.github.com/users/mvdoc/following{/other_user}","gists_url":"https://api.github.com/users/mvdoc/gists{/gist_id}","starred_url":"https://api.github.com/users/mvdoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvdoc/subscriptions","organizations_url":"https://api.github.com/users/mvdoc/orgs","repos_url":"https://api.github.com/users/mvdoc/repos","events_url":"https://api.github.com/users/mvdoc/events{/privacy}","received_events_url":"https://api.github.com/users/mvdoc/received_events","type":"User","site_admin":false},"created_at":"2015-07-30T04:33:22Z","updated_at":"2015-07-30T04:33:22Z","body":"I believe so"}}