From e3cd261e99d63bd6dc1453fdf30515a966f9ba23 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 31 Jul 2016 10:09:39 -0400 Subject: [PATCH] Fix 2 unnecessary-pass errors --- common/djangoapps/terrain/stubs/start.py | 1 - openedx/core/djangoapps/user_api/tests/test_views.py | 2 -- 2 files changed, 3 deletions(-) diff --git a/common/djangoapps/terrain/stubs/start.py b/common/djangoapps/terrain/stubs/start.py index 9bb35d70a3..f0920ac8b3 100644 --- a/common/djangoapps/terrain/stubs/start.py +++ b/common/djangoapps/terrain/stubs/start.py @@ -81,7 +81,6 @@ def _parse_config_args(args): except: print "Warning: could not interpret config value '{0}'".format(config_str) - pass return config_dict diff --git a/openedx/core/djangoapps/user_api/tests/test_views.py b/openedx/core/djangoapps/user_api/tests/test_views.py index 26b4a4d1e3..84447555d7 100644 --- a/openedx/core/djangoapps/user_api/tests/test_views.py +++ b/openedx/core/djangoapps/user_api/tests/test_views.py @@ -1875,8 +1875,6 @@ class TestGoogleRegistrationView( """Tests the User API registration endpoint with Google authentication.""" __test__ = True - pass - @ddt.ddt class UpdateEmailOptInTestCase(UserAPITestCase, SharedModuleStoreTestCase):