{"action":"created","issue":{"url":"https://api.github.com/repos/pytest-dev/pytest/issues/1243","labels_url":"https://api.github.com/repos/pytest-dev/pytest/issues/1243/labels{/name}","comments_url":"https://api.github.com/repos/pytest-dev/pytest/issues/1243/comments","events_url":"https://api.github.com/repos/pytest-dev/pytest/issues/1243/events","html_url":"https://github.com/pytest-dev/pytest/pull/1243","id":121322209,"number":1243,"title":"Update python.py","user":{"login":"aselus-hub","id":12587772,"avatar_url":"https://avatars.githubusercontent.com/u/12587772?v=3","gravatar_id":"","url":"https://api.github.com/users/aselus-hub","html_url":"https://github.com/aselus-hub","followers_url":"https://api.github.com/users/aselus-hub/followers","following_url":"https://api.github.com/users/aselus-hub/following{/other_user}","gists_url":"https://api.github.com/users/aselus-hub/gists{/gist_id}","starred_url":"https://api.github.com/users/aselus-hub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aselus-hub/subscriptions","organizations_url":"https://api.github.com/users/aselus-hub/orgs","repos_url":"https://api.github.com/users/aselus-hub/repos","events_url":"https://api.github.com/users/aselus-hub/events{/privacy}","received_events_url":"https://api.github.com/users/aselus-hub/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-12-09T19:37:39Z","updated_at":"2015-12-10T21:51:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pytest-dev/pytest/pulls/1243","html_url":"https://github.com/pytest-dev/pytest/pull/1243","diff_url":"https://github.com/pytest-dev/pytest/pull/1243.diff","patch_url":"https://github.com/pytest-dev/pytest/pull/1243.patch"},"body":"Small bugfix to make pytest work the same in python3 as it does in python2.\r\n\r\nReasoning: Updated dictionary itteration to create a list for generation in py3 through casting, so that tests can be added in the generator functions under python3. This works fine as-is in python2 because python 2 already creates a list, whereas python3 returns an itterator. Forcing a list format for the return fixes python3 to work the same way as python2, and leaves python2 to work fine [tested in both]."},"comment":{"url":"https://api.github.com/repos/pytest-dev/pytest/issues/comments/163759914","html_url":"https://github.com/pytest-dev/pytest/pull/1243#issuecomment-163759914","issue_url":"https://api.github.com/repos/pytest-dev/pytest/issues/1243","id":163759914,"user":{"login":"nicoddemus","id":1085180,"avatar_url":"https://avatars.githubusercontent.com/u/1085180?v=3","gravatar_id":"","url":"https://api.github.com/users/nicoddemus","html_url":"https://github.com/nicoddemus","followers_url":"https://api.github.com/users/nicoddemus/followers","following_url":"https://api.github.com/users/nicoddemus/following{/other_user}","gists_url":"https://api.github.com/users/nicoddemus/gists{/gist_id}","starred_url":"https://api.github.com/users/nicoddemus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicoddemus/subscriptions","organizations_url":"https://api.github.com/users/nicoddemus/orgs","repos_url":"https://api.github.com/users/nicoddemus/repos","events_url":"https://api.github.com/users/nicoddemus/events{/privacy}","received_events_url":"https://api.github.com/users/nicoddemus/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T21:51:53Z","updated_at":"2015-12-10T21:51:53Z","body":"IMO you can add a test function at the end of `testing/python/collect.py`... see the other test at the bottom of the file for an example on how to write that test."}}