{"action":"created","issue":{"url":"https://api.github.com/repos/biopython/biopython/issues/669","labels_url":"https://api.github.com/repos/biopython/biopython/issues/669/labels{/name}","comments_url":"https://api.github.com/repos/biopython/biopython/issues/669/comments","events_url":"https://api.github.com/repos/biopython/biopython/issues/669/events","html_url":"https://github.com/biopython/biopython/issues/669","id":116925681,"number":669,"title":"1 Tutorial doctests failed (biopython-1.66)","user":{"login":"sagitter","id":5006433,"avatar_url":"https://avatars.githubusercontent.com/u/5006433?v=3","gravatar_id":"","url":"https://api.github.com/users/sagitter","html_url":"https://github.com/sagitter","followers_url":"https://api.github.com/users/sagitter/followers","following_url":"https://api.github.com/users/sagitter/following{/other_user}","gists_url":"https://api.github.com/users/sagitter/gists{/gist_id}","starred_url":"https://api.github.com/users/sagitter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagitter/subscriptions","organizations_url":"https://api.github.com/users/sagitter/orgs","repos_url":"https://api.github.com/users/sagitter/repos","events_url":"https://api.github.com/users/sagitter/events{/privacy}","received_events_url":"https://api.github.com/users/sagitter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-11-14T13:45:33Z","updated_at":"2015-11-16T10:41:14Z","closed_at":null,"body":"Hi all,\r\n\r\njust 1 test of BioPython-1.66 is failed by running ```Tests/tests_run.py --offline```:\r\n\r\n```\r\ntest_doctests (test_Tutorial.TutorialTestCase)\r\nRun tutorial doctests. ... ERROR\r\n\r\n======================================================================\r\nERROR: test_doctests (test_Tutorial.TutorialTestCase)\r\nRun tutorial doctests.\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/sagitter/rpmbuild/BUILD/biopython-1.66/Tests/test_Tutorial.py\", line 175, in test_doctests\r\n    (len(failures), \", \".join(failures)))\r\nValueError: 1 Tutorial doctests failed: test_chapter_seqio_line_00888\r\n ```\r\n"},"comment":{"url":"https://api.github.com/repos/biopython/biopython/issues/comments/156986006","html_url":"https://github.com/biopython/biopython/issues/669#issuecomment-156986006","issue_url":"https://api.github.com/repos/biopython/biopython/issues/669","id":156986006,"user":{"login":"peterjc","id":63959,"avatar_url":"https://avatars.githubusercontent.com/u/63959?v=3","gravatar_id":"","url":"https://api.github.com/users/peterjc","html_url":"https://github.com/peterjc","followers_url":"https://api.github.com/users/peterjc/followers","following_url":"https://api.github.com/users/peterjc/following{/other_user}","gists_url":"https://api.github.com/users/peterjc/gists{/gist_id}","starred_url":"https://api.github.com/users/peterjc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterjc/subscriptions","organizations_url":"https://api.github.com/users/peterjc/orgs","repos_url":"https://api.github.com/users/peterjc/repos","events_url":"https://api.github.com/users/peterjc/events{/privacy}","received_events_url":"https://api.github.com/users/peterjc/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T10:41:14Z","updated_at":"2015-11-16T10:41:14Z","body":"This is unlikely to cause you any problems with using Biopython with strict ASCII text files. These tests have some accented/special characters, and their failure suggest something unexpected with your locale settings, see also this thread with @tiagoantao which we never really resolved:\r\n\r\nhttp://lists.open-bio.org/pipermail/biopython-dev/2014-May/020541.html\r\n\r\nMy Mac and Linux machines give me this (testing with Python 3.3, 3.4 and 3.5):\r\n\r\n```\r\n$ python3 -c \"import locale; print(locale.getlocale())\"\r\n('en_GB', 'UTF-8')\r\n```\r\n\r\nMy Windows XP machine using Python 3.3 and 3.4 says:\r\n\r\n```\r\n$ C:\\python34\\python.exe -c \"import locale; print(locale.getlocale())\"\r\n(None, None)\r\n```\r\n\r\nWhat does your Linux machine report?"}}