[Pkg-privacy-commits] [pyptlib] 125/136: note INT-related failing tests on windows - potential strategy to fix similar to https://trac.torproject.org/projects/tor/ticket/9330#comment:11 but using CTRL-C for SIGINT - also probably requires python fix for http://bugs.python.org/issue18040

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 13:25:18 UTC 2015


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

infinity0 pushed a commit to branch master
in repository pyptlib.

commit 391feb9e7246bff3f038ae20647365077c005678
Author: Ximin Luo <infinity0 at gmx.com>
Date:   Mon Oct 28 17:42:11 2013 +0000

    note INT-related failing tests on windows
    - potential strategy to fix similar to https://trac.torproject.org/projects/tor/ticket/9330#comment:11 but using CTRL-C for SIGINT
    - also probably requires python fix for http://bugs.python.org/issue18040
---
 pyptlib/test/test_util_subproc.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/pyptlib/test/test_util_subproc.py b/pyptlib/test/test_util_subproc.py
index 72cac82..7bfbd19 100644
--- a/pyptlib/test/test_util_subproc.py
+++ b/pyptlib/test/test_util_subproc.py
@@ -45,6 +45,7 @@ class SubprocTest(unittest.TestCase):
 
     def test_trap_sigint_multiple(self):
         """Test that adding multiple SIGINT handlers works as expected."""
+        # TODO(infinity0): KNOWN TO FAIL ON WINDOWS
         proc = self.spawnMain()
         proc.send_signal(signal.SIGINT)
         self.assertEquals("run h1\n", proc.stdout.readline())
@@ -55,6 +56,7 @@ class SubprocTest(unittest.TestCase):
 
     def test_trap_sigint_reset(self):
         """Test that resetting SIGINT handlers works as expected."""
+        # TODO(infinity0): KNOWN TO FAIL ON WINDOWS
         proc = self.spawnMain()
         proc.send_signal(signal.SIGINT)
         self.assertEquals("run h2\n", proc.stdout.readline())
@@ -75,6 +77,7 @@ class SubprocTest(unittest.TestCase):
 
     def test_auto_killall_2_int(self):
         """Test that auto_killall works for 2-INT signals."""
+        # TODO(infinity0): KNOWN TO FAIL ON WINDOWS
         proc = self.spawnMain()
         pid = proc.pid
         cid = self.readChildPid(proc)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/pyptlib.git



More information about the Pkg-privacy-commits mailing list