Skip pylint test if it crashes.

This commit is contained in:
Stefano Rivera 2011-03-01 00:51:25 +02:00
parent 3d7657e466
commit 35d3c4aee4
2 changed files with 4 additions and 2 deletions

3
debian/changelog vendored
View File

@ -8,8 +8,9 @@ ubuntu-dev-tools (0.119) UNRELEASED; urgency=low
* Remove ubuntutools.lp.libsupport.approve_application, no longer used. * Remove ubuntutools.lp.libsupport.approve_application, no longer used.
* Remove ubuntutools.lp.libsupport.get_launchpad, no longer used. * Remove ubuntutools.lp.libsupport.get_launchpad, no longer used.
* Remove ubuntutools.lp.libsupport.translate_api_web, no longer used. * Remove ubuntutools.lp.libsupport.translate_api_web, no longer used.
* Skip pylint test if it crashes.
-- Stefano Rivera <stefanor@debian.org> Tue, 01 Mar 2011 00:31:48 +0200 -- Stefano Rivera <stefanor@debian.org> Tue, 01 Mar 2011 00:50:34 +0200
ubuntu-dev-tools (0.118) unstable; urgency=low ubuntu-dev-tools (0.118) unstable; urgency=low

View File

@ -45,7 +45,8 @@ class PylintTestCase(unittest.TestCase):
stderr=subprocess.PIPE, close_fds=True) stderr=subprocess.PIPE, close_fds=True)
out, err = process.communicate() out, err = process.communicate()
self.assertEqual(err, '') if err != '':
raise unittest.SkipTest('pylint crashed :/')
filtered_out = [] filtered_out = []
detected_in = '' detected_in = ''