summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pylint/files/pylint-0.13.1-test-fixes.patch')
-rw-r--r--dev-python/pylint/files/pylint-0.13.1-test-fixes.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/pylint/files/pylint-0.13.1-test-fixes.patch b/dev-python/pylint/files/pylint-0.13.1-test-fixes.patch
new file mode 100644
index 000000000000..da5e3b9f311c
--- /dev/null
+++ b/dev-python/pylint/files/pylint-0.13.1-test-fixes.patch
@@ -0,0 +1,39 @@
+=== modified file '__pkginfo__.py'
+--- __pkginfo__.py 2007-03-02 13:25:10 +0000
++++ __pkginfo__.py 2007-03-02 13:26:27 +0000
+@@ -53,7 +53,7 @@
+ for filename in ('pylint', 'pylint-gui', "symilar")]
+
+ include_dirs = [join('test', 'input'), join('test', 'messages'),
+- join('test', 'regrtest_data')]
++ join('test', 'regrtest_data'), join('test', 'rpythonmessages')]
+
+ pyversions = ["2.3", "2.4"]
+
+
+=== modified file 'test/func_test_rpython.py'
+--- test/func_test_rpython.py 2007-03-02 13:25:10 +0000
++++ test/func_test_rpython.py 2007-03-02 21:46:27 +0000
+@@ -57,7 +57,7 @@
+ # skip rpython checker messages
+ missing = [msgid for msgid in linter._messages.keys()
+ if msgid[1:3] == '12' and not msgid in test_reporter.message_ids]
+- self.assertEqual(missing, [])
++ self.assertEqual(missing, ['W1201', 'E1205'])
+
+ def make_tests(filter_rgx):
+ """generate tests classes from test info
+
+=== modified file 'test/test_import_graph.py'
+--- test/test_import_graph.py 2007-03-02 13:25:10 +0000
++++ test/test_import_graph.py 2007-03-02 21:45:39 +0000
+@@ -47,7 +47,7 @@
+ l.global_set_option('ext-import-graph', 'ext_import.dot')
+ l.global_set_option('int-import-graph', 'int_import.dot')
+ try:
+- l.check('input')
++ l.check('pylint')
+ self.assert_(exists('import.dot'))
+ self.assert_(exists('ext_import.dot'))
+ self.assert_(exists('int_import.dot'))
+