[Python-checkins] r78535 - in python/branches/release26-maint: Lib/test/test_subprocess.py
gregory.p.smith
python-checkins at python.org
Mon Mar 1 04:04:05 CET 2010
Author: gregory.p.smith
Date: Mon Mar 1 04:04:05 2010
New Revision: 78535
Log:
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)
........
Modified:
python/branches/release26-maint/ (props changed)
python/branches/release26-maint/Lib/test/test_subprocess.py
Modified: python/branches/release26-maint/Lib/test/test_subprocess.py
==============================================================================
--- python/branches/release26-maint/Lib/test/test_subprocess.py (original)
+++ python/branches/release26-maint/Lib/test/test_subprocess.py Mon Mar 1 04:04:05 2010
@@ -734,7 +734,7 @@
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 @@
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,
More information about the Python-checkins
mailing list