diff --git a/core/tests/test_tutor_api_endpoints.py b/core/tests/test_tutor_api_endpoints.py
index fb8f7435394de001babb197c76fea614029835aa..210012369bab6fbb0f005005e7a62571dcbde861 100644
--- a/core/tests/test_tutor_api_endpoints.py
+++ b/core/tests/test_tutor_api_endpoints.py
@@ -205,7 +205,7 @@ class TutorRegisterTests(APITestCase):
         self.client = APIClient()
 
     @pytest.mark.skipif(os.environ.get('DJANGO_DEV', False),
-                        "No password strengths checks in dev")
+                        reason="No password strengths checks in dev")
     def test_password_is_strong_enough(self):
         response = self.client.post('/api/tutor/register/', {
             'username': 'hans',