[Python-modules-commits] [nose] 05/08: Disable some unstable tests in multiprocessing module

Brian May bam at moszumanska.debian.org
Thu Nov 19 00:19:47 UTC 2015


This is an automated email from the git hooks/post-receive script.

bam pushed a commit to branch master
in repository nose.

commit f15c252c5e4e8b1ea9d6924b2a9bec4efbacbd00
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Thu Oct 8 10:02:00 2015 -0700

    Disable some unstable tests in multiprocessing module
    
    Forwarded: not-needed
    Last-Update: 2014-05-04
    
    Patch-Name: disable-unstable-tests
---
 functional_tests/test_multiprocessing/test_keyboardinterrupt.py | 2 ++
 functional_tests/test_multiprocessing/test_process_timeout.py   | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/functional_tests/test_multiprocessing/test_keyboardinterrupt.py b/functional_tests/test_multiprocessing/test_keyboardinterrupt.py
index 18c8af1..aead7e2 100644
--- a/functional_tests/test_multiprocessing/test_keyboardinterrupt.py
+++ b/functional_tests/test_multiprocessing/test_keyboardinterrupt.py
@@ -63,6 +63,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)]
     log = get_log_content(logfile)
@@ -83,6 +84,7 @@ def test_keyboardinterrupt():
 
 
 def test_keyboardinterrupt_twice():
+    raise nose.SkipTest('Disabled in Debian')
     process, logfile, killfile = keyboardinterrupt('keyboardinterrupt_twice.py')
     waitForKillFile(killfile)
     os.killpg(process.pid, signal.SIGINT)
diff --git a/functional_tests/test_multiprocessing/test_process_timeout.py b/functional_tests/test_multiprocessing/test_process_timeout.py
index 6b858f8..73b4e3b 100644
--- a/functional_tests/test_multiprocessing/test_process_timeout.py
+++ b/functional_tests/test_multiprocessing/test_process_timeout.py
@@ -1,4 +1,5 @@
 import os
+import nose
 
 from test_multiprocessing import MPTestBase
 
@@ -7,6 +8,7 @@ class TestMPTimeout(MPTestBase):
     suitepath = os.path.join(os.path.dirname(__file__), 'support', 'timeout.py')
 
     def runTest(self):
+        raise nose.SkipTest('Disabled in Debian')
         assert "TimedOutException: 'timeout.test_timeout'" in self.output
         assert "Ran 2 tests in" in self.output
         assert "FAILED (errors=1)" in self.output

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/nose.git



More information about the Python-modules-commits mailing list