diff options
| author | Gregory P. Smith <greg@mad-scientist.com> | 2010-03-01 03:04:05 (GMT) |
|---|---|---|
| committer | Gregory P. Smith <greg@mad-scientist.com> | 2010-03-01 03:04:05 (GMT) |
| commit | c234a3c74a3b4178027f2beff39dbe304450330b (patch) | |
| tree | ceb3d2468577813e1c1ce96d2c393d332bc74010 | |
| parent | ca57499b726a11ab2f59e4f90f5efe8a7a945b60 (diff) | |
| download | cpython-c234a3c74a3b4178027f2beff39dbe304450330b.zip cpython-c234a3c74a3b4178027f2beff39dbe304450330b.tar.gz cpython-c234a3c74a3b4178027f2beff39dbe304450330b.tar.bz2 | |
Merged revisions 78532 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78532 | gregory.p.smith | 2010-02-28 18:53:24 -0800 (Sun, 28 Feb 2010) | 2 lines
Fix the new test on windows (skip it, its posix only)
........
| -rw-r--r-- | Lib/test/test_subprocess.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py index a9723b1..7b5d519 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py @@ -734,7 +734,7 @@ class ProcessTestCase(unittest.TestCase): self.assertNotEqual(p.wait(), 0) class HelperFunctionTests(unittest.TestCase): - def test_eintr_retry_call(self): + def _test_eintr_retry_call(self): record_calls = [] def fake_os_func(*args): record_calls.append(args) @@ -750,6 +750,9 @@ class HelperFunctionTests(unittest.TestCase): subprocess._eintr_retry_call(fake_os_func, 666)) self.assertEqual([(256, 999), (666,), (666,)], record_calls) + if not mswindows: + test_eintr_retry_call = _test_eintr_retry_call + def test_main(): test_support.run_unittest(ProcessTestCase, |
