[Python-modules-commits] r23528 - in packages/nose/trunk/debian (3 files)
mitya57-guest at users.alioth.debian.org
mitya57-guest at users.alioth.debian.org
Thu Feb 21 15:04:00 UTC 2013
Date: Thursday, February 21, 2013 @ 15:03:59
Author: mitya57-guest
Revision: 23528
Disable some unstable tests (in multiprocessing module) to make the
package not FTBFS.
Added:
packages/nose/trunk/debian/patches/disable-unstable-tests
Modified:
packages/nose/trunk/debian/changelog
packages/nose/trunk/debian/patches/series
Modified: packages/nose/trunk/debian/changelog
===================================================================
--- packages/nose/trunk/debian/changelog 2013-02-21 14:56:54 UTC (rev 23527)
+++ packages/nose/trunk/debian/changelog 2013-02-21 15:03:59 UTC (rev 23528)
@@ -5,6 +5,8 @@
- Fixes exceptions in tests generator (closes: #663465, thanks to
Jakub Wilk for the bug report).
* Build-depend on python-coverage (for the test suite).
+ * Disable some unstable tests (in multiprocessing module) to make the
+ package not FTBFS.
-- Dmitry Shachnev <mitya57 at gmail.com> Thu, 21 Feb 2013 18:51:49 +0400
Added: packages/nose/trunk/debian/patches/disable-unstable-tests
===================================================================
--- packages/nose/trunk/debian/patches/disable-unstable-tests (rev 0)
+++ packages/nose/trunk/debian/patches/disable-unstable-tests 2013-02-21 15:03:59 UTC (rev 23528)
@@ -0,0 +1,33 @@
+Description: Disable some unstable tests in multiprocessing module
+Author: Dmitry Shachnev <mitya57 at gmail.com>
+Forwarded: not-needed
+Last-Update: 2013-02-21
+
+--- a/functional_tests/test_multiprocessing/test_concurrent_shared.py
++++ b/functional_tests/test_multiprocessing/test_concurrent_shared.py
+@@ -22,6 +22,7 @@ class TestConcurrentShared(MPTestBase):
+ MPTestBase.setUp(self)
+
+ def runTest(self):
++ raise unittest.SkipTest('disabled in Debian')
+ assert 'Ran 2 tests in 1.' in self.output, "make sure two tests use 1.x seconds (no more than 2 seconds)"
+ assert str(self.output).strip().endswith('OK')
+
+--- a/functional_tests/test_multiprocessing/test_keyboardinterrupt.py
++++ b/functional_tests/test_multiprocessing/test_keyboardinterrupt.py
+@@ -52,6 +52,7 @@ def get_log_content(logfile):
+ return content
+
+ def test_keyboardinterrupt():
++ raise nose.SkipTest('Disabled in Debian')
+ process, logfile = keyboardinterrupt('keyboardinterrupt.py')
+ stdout, stderr = [s.decode('utf-8') for s in process.communicate(None)]
+ print stderr
+@@ -68,6 +69,7 @@ def test_keyboardinterrupt():
+
+
+ def test_keyboardinterrupt_twice():
++ raise nose.SkipTest('Disabled in Debian')
+ process, logfile = keyboardinterrupt('keyboardinterrupt_twice.py')
+ sleep(0.5)
+ os.killpg(process.pid, signal.SIGINT)
Modified: packages/nose/trunk/debian/patches/series
===================================================================
--- packages/nose/trunk/debian/patches/series 2013-02-21 14:56:54 UTC (rev 23527)
+++ packages/nose/trunk/debian/patches/series 2013-02-21 15:03:59 UTC (rev 23528)
@@ -2,3 +2,4 @@
no-install-data
no-google-analytics
no-distribute_setup
+disable-unstable-tests
More information about the Python-modules-commits
mailing list