{"action":"closed","issue":{"url":"https://api.github.com/repos/biopython/biopython/issues/612","labels_url":"https://api.github.com/repos/biopython/biopython/issues/612/labels{/name}","comments_url":"https://api.github.com/repos/biopython/biopython/issues/612/comments","events_url":"https://api.github.com/repos/biopython/biopython/issues/612/events","html_url":"https://github.com/biopython/biopython/issues/612","id":106318027,"number":612,"title":"MissingExternalDependencyError not working in run_tests.py on Python 3.5","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},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-14T10:56:58Z","updated_at":"2015-09-14T12:51:41Z","closed_at":"2015-09-14T12:51:41Z","body":"As noted on #601 (Python 3.5.0rc2 under Windows 8.1) and confirmed with Python 3.5.0 on Mac and Linux, our mechanism for skipping tests with missing dependencies is failing. e.g.\r\n\r\n```\r\n$ python3.5 run_tests.py test_KGML_graphics.py\r\nPython version: 3.5.0 (default, Sep 14 2015, 09:37:32) \r\n[GCC 4.4.7 20120313 (Red Hat 4.4.7-11)]\r\nOperating system: posix linux\r\ntest_KGML_graphics ... FAIL\r\n======================================================================\r\nERROR: test_KGML_graphics (unittest.loader._FailedTest)\r\n----------------------------------------------------------------------\r\nImportError: Failed to import test module: test_KGML_graphics\r\nTraceback (most recent call last):\r\n  File \"/home_local/buildslave/repositories/biopython/build/lib.linux-x86_64-3.5/Bio/Graphics/__init__.py\", line 11, in <module>\r\n    import reportlab as r\r\nImportError: No module named 'reportlab'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/home_local/buildslave/lib/python3.5/unittest/loader.py\", line 153, in loadTestsFromName\r\n    module = __import__(module_name)\r\n  File \"/home_local/buildslave/repositories/biopython/Tests/test_KGML_graphics.py\", line 16, in <module>\r\n    from Bio.Graphics.ColorSpiral import ColorSpiral\r\n  File \"/home_local/buildslave/repositories/biopython/build/lib.linux-x86_64-3.5/Bio/Graphics/__init__.py\", line 16, in <module>\r\n    \"Please install ReportLab if you want \"\r\nBio.MissingPythonDependencyError: Please install ReportLab if you want to use Bio.Graphics. You can find ReportLab at http://www.reportlab.com/software/opensource/\r\n\r\n\r\n----------------------------------------------------------------------\r\nRan 1 test in 0.007 seconds\r\n\r\nFAILED (failures = 1)\r\n```\r\n\r\nFor some reason we are not able to catch ``MissingExternalDependencyError`` or its subclass ``MissingPythonDependencyError`` anymore."}}