{"action":"closed","issue":{"url":"https://api.github.com/repos/lordmauve/pgzero/issues/158","repository_url":"https://api.github.com/repos/lordmauve/pgzero","labels_url":"https://api.github.com/repos/lordmauve/pgzero/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/lordmauve/pgzero/issues/158/comments","events_url":"https://api.github.com/repos/lordmauve/pgzero/issues/158/events","html_url":"https://github.com/lordmauve/pgzero/issues/158","id":396185667,"node_id":"MDU6SXNzdWUzOTYxODU2Njc=","number":158,"title":"ActorTest's test_right_angle test fails","user":{"login":"charlesej","id":4837704,"node_id":"MDQ6VXNlcjQ4Mzc3MDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/4837704?v=4","gravatar_id":"","url":"https://api.github.com/users/charlesej","html_url":"https://github.com/charlesej","followers_url":"https://api.github.com/users/charlesej/followers","following_url":"https://api.github.com/users/charlesej/following{/other_user}","gists_url":"https://api.github.com/users/charlesej/gists{/gist_id}","starred_url":"https://api.github.com/users/charlesej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charlesej/subscriptions","organizations_url":"https://api.github.com/users/charlesej/orgs","repos_url":"https://api.github.com/users/charlesej/repos","events_url":"https://api.github.com/users/charlesej/events{/privacy}","received_events_url":"https://api.github.com/users/charlesej/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-01-05T17:50:01Z","updated_at":"2019-01-05T22:46:29Z","closed_at":"2019-01-05T22:46:29Z","author_association":"CONTRIBUTOR","body":"Running pgzero's test suite (`python setup.py test`) gives an error like the following (Note: file path edited).\r\n\r\n```\r\n======================================================================\r\nFAIL: test_right_angle (test.test_actor.ActorTest)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\nFile \"\\pgzero\\test\\test_actor.py\", line 101, in test_right_angle\r\nself.assertEqual(a.width, 92)\r\nAssertionError: 66.0 != 92\r\n \r\n----------------------------------------------------------------------\r\n```\r\n\r\nThis failure is due to the Actor's angle setter assigning width and height incorrectly. The new width is being assigned to the height attribute and the new height is being assigned to the width attribute.\r\n\r\n**System details:**\r\n* windows 10\r\n* python: 3.5.0\r\n* pygame: 1.9.4\r\n* pgzero: 1.2\r\n* numpy: 1.15.4\r\n\r\n"}}
{"actor":{"display_login":"lordmauve"}}