{"action":"closed","issue":{"url":"https://api.github.com/repos/thisch/pytest-sphinx/issues/1","repository_url":"https://api.github.com/repos/thisch/pytest-sphinx","labels_url":"https://api.github.com/repos/thisch/pytest-sphinx/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/thisch/pytest-sphinx/issues/1/comments","events_url":"https://api.github.com/repos/thisch/pytest-sphinx/issues/1/events","html_url":"https://github.com/thisch/pytest-sphinx/issues/1","id":356080484,"node_id":"MDU6SXNzdWUzNTYwODA0ODQ=","number":1,"title":"SphinxDoctest is not sortable","user":{"login":"rmorshea","id":4041990,"node_id":"MDQ6VXNlcjQwNDE5OTA=","avatar_url":"https://avatars0.githubusercontent.com/u/4041990?v=4","gravatar_id":"","url":"https://api.github.com/users/rmorshea","html_url":"https://github.com/rmorshea","followers_url":"https://api.github.com/users/rmorshea/followers","following_url":"https://api.github.com/users/rmorshea/following{/other_user}","gists_url":"https://api.github.com/users/rmorshea/gists{/gist_id}","starred_url":"https://api.github.com/users/rmorshea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmorshea/subscriptions","organizations_url":"https://api.github.com/users/rmorshea/orgs","repos_url":"https://api.github.com/users/rmorshea/repos","events_url":"https://api.github.com/users/rmorshea/events{/privacy}","received_events_url":"https://api.github.com/users/rmorshea/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-08-31T18:21:58Z","updated_at":"2018-09-09T18:00:47Z","closed_at":"2018-09-09T18:00:47Z","author_association":"NONE","body":"Pytest now runs `tests.sort()` which results in an error complaining that:\r\n\r\n```\r\nTypeError: '<' not supported between instances of 'SphinxDoctest' and 'SphinxDoctest'\r\n```\r\n\r\nAdding the following comparisons to the `SphinxDoctest` class may resolve this issue:\r\n\r\nOperator | Method\r\n-- | --\r\n`==` | `__eq__`\r\n`!=` | `__ne__`\r\n`<` | `__lt__`\r\n`<=` | `__le__`\r\n`>` | `__gt__`\r\n`>=` | `__ge__`\r\n"}}
{"actor":{"display_login":"thisch"}}