diff options
author | Brian Curtin <brian.curtin@gmail.com> | 2010-04-12 17:16:38 (GMT) |
---|---|---|
committer | Brian Curtin <brian.curtin@gmail.com> | 2010-04-12 17:16:38 (GMT) |
commit | eb24d7498f3e34586fee24209f5630a58bb1a04b (patch) | |
tree | 2618500362c3b75e9ff541971954b57d14d66a86 /Lib/unittest | |
parent | b2416e54b15d90b4a1bc917897912061830b42fc (diff) | |
download | cpython-eb24d7498f3e34586fee24209f5630a58bb1a04b.zip cpython-eb24d7498f3e34586fee24209f5630a58bb1a04b.tar.gz cpython-eb24d7498f3e34586fee24209f5630a58bb1a04b.tar.bz2 |
Port #1220212 (os.kill for Win32) to py3k.
Diffstat (limited to 'Lib/unittest')
-rw-r--r-- | Lib/unittest/test/test_break.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/unittest/test/test_break.py b/Lib/unittest/test/test_break.py index e3fae34..9108a2c 100644 --- a/Lib/unittest/test/test_break.py +++ b/Lib/unittest/test/test_break.py @@ -1,6 +1,7 @@ import gc import io import os +import sys import signal import weakref @@ -8,6 +9,7 @@ import unittest @unittest.skipUnless(hasattr(os, 'kill'), "Test requires os.kill") +@unittest.skipIf(sys.platform =="win32", "Test cannot run on Windows") class TestBreak(unittest.TestCase): def setUp(self): |