{"action":"created","issue":{"url":"https://api.github.com/repos/astropy/astropy/issues/4164","labels_url":"https://api.github.com/repos/astropy/astropy/issues/4164/labels{/name}","comments_url":"https://api.github.com/repos/astropy/astropy/issues/4164/comments","events_url":"https://api.github.com/repos/astropy/astropy/issues/4164/events","html_url":"https://github.com/astropy/astropy/issues/4164","id":107069824,"number":4164,"title":"Overly verbose test result output","user":{"login":"embray","id":676149,"avatar_url":"https://avatars.githubusercontent.com/u/676149?v=3","gravatar_id":"","url":"https://api.github.com/users/embray","html_url":"https://github.com/embray","followers_url":"https://api.github.com/users/embray/followers","following_url":"https://api.github.com/users/embray/following{/other_user}","gists_url":"https://api.github.com/users/embray/gists{/gist_id}","starred_url":"https://api.github.com/users/embray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/embray/subscriptions","organizations_url":"https://api.github.com/users/embray/orgs","repos_url":"https://api.github.com/users/embray/repos","events_url":"https://api.github.com/users/embray/events{/privacy}","received_events_url":"https://api.github.com/users/embray/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/astropy/astropy/labels/Affects-dev","name":"Affects-dev","color":"eb6420"},{"url":"https://api.github.com/repos/astropy/astropy/labels/astropy-helpers","name":"astropy-helpers","color":"eb6420"},{"url":"https://api.github.com/repos/astropy/astropy/labels/Bug","name":"Bug","color":"eb6420"},{"url":"https://api.github.com/repos/astropy/astropy/labels/testing","name":"testing","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/astropy/astropy/milestones/29","html_url":"https://github.com/astropy/astropy/milestones/v1.0.5","labels_url":"https://api.github.com/repos/astropy/astropy/milestones/29/labels","id":1240775,"number":29,"title":"v1.0.5","description":"","creator":{"login":"embray","id":676149,"avatar_url":"https://avatars.githubusercontent.com/u/676149?v=3","gravatar_id":"","url":"https://api.github.com/users/embray","html_url":"https://github.com/embray","followers_url":"https://api.github.com/users/embray/followers","following_url":"https://api.github.com/users/embray/following{/other_user}","gists_url":"https://api.github.com/users/embray/gists{/gist_id}","starred_url":"https://api.github.com/users/embray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/embray/subscriptions","organizations_url":"https://api.github.com/users/embray/orgs","repos_url":"https://api.github.com/users/embray/repos","events_url":"https://api.github.com/users/embray/events{/privacy}","received_events_url":"https://api.github.com/users/embray/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":35,"state":"open","created_at":"2015-08-04T18:58:47Z","updated_at":"2015-09-30T14:04:00Z","due_on":"2015-09-04T04:00:00Z","closed_at":null},"comments":22,"created_at":"2015-09-17T20:39:47Z","updated_at":"2015-09-30T14:04:00Z","closed_at":"2015-09-30T14:04:00Z","body":"A minor annoyance I'm finding since the switch to pytest 2.7.3 in #4027 is that during test running the results for each module list the full path to the module, as found it the temporary test directory, rather than a relative path, like:\r\n\r\n```\r\n//tmp/astropy-test-k8ciiv35/lib.linux-x86_64-3.4/astropy/_erfa/tests/test_erfa.py .....\r\n//tmp/astropy-test-k8ciiv35/lib.linux-x86_64-3.4/astropy/analytic_functions/tests/test_blackbody.py ....\r\n//tmp/astropy-test-k8ciiv35/lib.linux-x86_64-3.4/astropy/config/tests/test_configs.py .................\r\n//tmp/astropy-test-k8ciiv35/lib.linux-x86_64-3.4/astropy/constants/tests/test_constant.py ........\r\n...\r\n```\r\n\r\nas opposed to\r\n\r\n```\r\nastropy/_erfa/tests/test_erfa.py .....\r\nastropy/analytic_functions/tests/test_blackbody.py ....\r\nastropy/config/tests/test_configs.py .................\r\nastropy/constants/tests/test_constant.py ........\r\n...\r\n```\r\n\r\nThe double slash at the beginning is odd too.  It might in some way be related to a new line showing up at the beginning of the test output that wasn't there before:\r\n\r\n```\r\nrootdir: /, inifile:\r\n```"},"comment":{"url":"https://api.github.com/repos/astropy/astropy/issues/comments/144418094","html_url":"https://github.com/astropy/astropy/issues/4164#issuecomment-144418094","issue_url":"https://api.github.com/repos/astropy/astropy/issues/4164","id":144418094,"user":{"login":"embray","id":676149,"avatar_url":"https://avatars.githubusercontent.com/u/676149?v=3","gravatar_id":"","url":"https://api.github.com/users/embray","html_url":"https://github.com/embray","followers_url":"https://api.github.com/users/embray/followers","following_url":"https://api.github.com/users/embray/following{/other_user}","gists_url":"https://api.github.com/users/embray/gists{/gist_id}","starred_url":"https://api.github.com/users/embray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/embray/subscriptions","organizations_url":"https://api.github.com/users/embray/orgs","repos_url":"https://api.github.com/users/embray/repos","events_url":"https://api.github.com/users/embray/events{/privacy}","received_events_url":"https://api.github.com/users/embray/received_events","type":"User","site_admin":false},"created_at":"2015-09-30T14:04:00Z","updated_at":"2015-09-30T14:04:00Z","body":"Turns out the reason we run into problems on OSX is that `tempfile.tempdir` on OSX returns a path, by default, under `/var`.  But on OSX `/var` is usually a symlink to `/private/var`.  However, `tempfile.tempdir` doesn't return the *real* full path with the symlink derferenced.  Later, this gets compared to the full path by py.test, and it fails to find the correct common rootdir for the tests.\r\n\r\nThis is kinda a bug in py.test too, since when finding the common rootdir for some test paths it should take symlinks into account better."}}