Commits

Florent Xicluna committed 66c2980

Fix the codes in the tests

  • Participants
  • Parent commits b645760
  • Branches flint-merge

Comments (0)

Files changed (1)

File flake8/tests/test_mccabe.py

         self.assertEqual(get_code_complexity(_GLOBAL, 1), 2)
         self.out.seek(0)
         res = self.out.read().strip().split('\n')
-        wanted = ["stdin:5:1: W901 'a' is too complex (4)",
-                  "stdin:2:1: W901 'Loop 2' is too complex (2)"]
+        wanted = ["stdin:5:1: C901 'a' is too complex (4)",
+                  "stdin:2:1: C901 'Loop 2' is too complex (2)"]
         self.assertEqual(res, wanted)