summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pylint/files/pylint-0.10.0-skip-gtk-test.patch')
-rw-r--r--dev-python/pylint/files/pylint-0.10.0-skip-gtk-test.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-python/pylint/files/pylint-0.10.0-skip-gtk-test.patch b/dev-python/pylint/files/pylint-0.10.0-skip-gtk-test.patch
new file mode 100644
index 000000000000..53f4f70a582b
--- /dev/null
+++ b/dev-python/pylint/files/pylint-0.10.0-skip-gtk-test.patch
@@ -0,0 +1,13 @@
+=== modified file 'test/regrtest.py'
+--- test/regrtest.py
++++ test/regrtest.py
+@@ -84,7 +84,7 @@
+ except ImportError:
+ self.skip('test skipped: gtk is not available')
+ except RuntimeError: # RuntimeError when missing display
+- pass
++ self.skip('test skipped: no display available')
+ linter.check('regrtest_data/pygtk_import.py')
+ got = linter.reporter.finalize().strip()
+ self.failUnlessEqual(got, '')
+