From 7ca7ae9c074a596c9ab2143f342f031253181a30 Mon Sep 17 00:00:00 2001
From: Tomas Groth <second@tgc.dk>
Date: Mon, 1 Aug 2016 20:49:01 +0200
Subject: [PATCH] Ignore distutils errors

---
 tests/utils/test_pylint.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/utils/test_pylint.py b/tests/utils/test_pylint.py
index 3d1333967..6b60fcf79 100644
--- a/tests/utils/test_pylint.py
+++ b/tests/utils/test_pylint.py
@@ -92,6 +92,9 @@ class TestPylint(TestCase):
             # Filter out PyQt related errors
             elif ('no-name-in-module' in line or 'no-member' in line) and 'PyQt5' in line:
                 continue
+            # Filter out distutils related errors
+            elif 'distutils' in line:
+                continue
             elif self._is_line_tolerated(line):
                 continue
             else: