From fa9ef1d0192a372c56a172484654c4103463ea7c Mon Sep 17 00:00:00 2001 From: Leon Sandøy Date: Sun, 13 Dec 2020 15:25:08 +0100 Subject: Remove pointless try/except. I don't think we need to check for TypeError here, so that saves us the trouble of testing these lines to appease coverage. --- pydis_site/apps/home/tests/mock_github_api_response.json | 7 ------- 1 file changed, 7 deletions(-) (limited to 'pydis_site/apps/home/tests') diff --git a/pydis_site/apps/home/tests/mock_github_api_response.json b/pydis_site/apps/home/tests/mock_github_api_response.json index 00f2840d..ddbffed8 100644 --- a/pydis_site/apps/home/tests/mock_github_api_response.json +++ b/pydis_site/apps/home/tests/mock_github_api_response.json @@ -34,13 +34,6 @@ "language": "Python", "forks_count": 31 }, - { - "full_name": "python-discord/sir-lancebot", - "description": 42, - "stargazers_count": "bad types", - "language": ["not", "the", "right", "type"], - "forks_count": "31" - }, { "full_name": "python-discord/sir-lancebot", "description": "test", -- cgit v1.2.3