diff options
author | Marien Zwart <marienz@gentoo.org> | 2006-03-10 23:46:58 +0000 |
---|---|---|
committer | Marien Zwart <marienz@gentoo.org> | 2006-03-10 23:46:58 +0000 |
commit | 05d1651e31b3e7c189d3413f082f93f6211e7e31 (patch) | |
tree | 11f47596bf78e835b3df644be4dc38383a4932f5 /dev-python/pylint/files | |
parent | Fix building with glibc-2.4 and newer. (diff) | |
download | gentoo-2-05d1651e31b3e7c189d3413f082f93f6211e7e31.tar.gz gentoo-2-05d1651e31b3e7c189d3413f082f93f6211e7e31.tar.bz2 gentoo-2-05d1651e31b3e7c189d3413f082f93f6211e7e31.zip |
Depend on a bugfixed astng allowing more tests to pass.
(Portage version: 2.1_pre5-r4)
Diffstat (limited to 'dev-python/pylint/files')
3 files changed, 11 insertions, 14 deletions
diff --git a/dev-python/pylint/files/pylint-0.10.0-extra-gtk-disable.patch b/dev-python/pylint/files/pylint-0.10.0-extra-gtk-disable.patch new file mode 100644 index 000000000000..6ebcd93ace20 --- /dev/null +++ b/dev-python/pylint/files/pylint-0.10.0-extra-gtk-disable.patch @@ -0,0 +1,10 @@ +=== modified file 'test/regrtest_data/pygtk_import.py' +--- test/regrtest_data/pygtk_import.py ++++ test/regrtest_data/pygtk_import.py +@@ -1,4 +1,4 @@ +-#pylint: disable-msg=R0903,R0904 ++#pylint: disable-msg=R0903,R0904,W0232 + """#10026""" + __revision__ = 1 + from gtk import VBox + diff --git a/dev-python/pylint/files/pylint-0.10.0-extra-todo.patch b/dev-python/pylint/files/pylint-0.10.0-extra-todo.patch index 506a1c06ed4c..cc24c854717c 100644 --- a/dev-python/pylint/files/pylint-0.10.0-extra-todo.patch +++ b/dev-python/pylint/files/pylint-0.10.0-extra-todo.patch @@ -6,7 +6,7 @@ todo.sort() if PY23: - self.assertEqual(todo, ['E0503', 'F0002', 'F0202', 'F0321', 'I0001']) -+ self.assertEqual(todo, ['C0321', 'C0322', 'C0323', 'C0324', 'E0503', 'F0002', 'F0202', 'F0321', 'I0001', 'R0401']) ++ self.assertEqual(todo, ['C0321', 'C0322', 'C0323', 'C0324', 'E0503', 'F0002', 'F0202', 'F0321', 'I0001']) else: self.assertEqual(todo, ['F0002', 'F0202', 'F0321', 'I0001']) 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 deleted file mode 100644 index 53f4f70a582b..000000000000 --- a/dev-python/pylint/files/pylint-0.10.0-skip-gtk-test.patch +++ /dev/null @@ -1,13 +0,0 @@ -=== 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, '') - |