[Python-checkins] r81676 - python/branches/release26-maint/Lib/test/test_signal.py
stefan.krah
python-checkins at python.org
Thu Jun 3 18:04:47 CEST 2010
Author: stefan.krah
Date: Thu Jun 3 18:04:47 2010
New Revision: 81676
Log:
Also skip when test_support.verbose is false.
Modified:
python/branches/release26-maint/Lib/test/test_signal.py
Modified: python/branches/release26-maint/Lib/test/test_signal.py
==============================================================================
--- python/branches/release26-maint/Lib/test/test_signal.py (original)
+++ python/branches/release26-maint/Lib/test/test_signal.py Thu Jun 3 18:04:47 2010
@@ -141,9 +141,10 @@
def test_main(self):
# Issue 3864, unknown if this affects earlier versions of freebsd also
- if sys.platform=='freebsd6' and test_support.verbose:
- sys.stderr.write('skipping -- inter process signals not reliable '
- '(do not mix well with threading) on freebsd6\n')
+ if sys.platform=='freebsd6':
+ if test_support.verbose:
+ sys.stderr.write('skipping -- inter process signals not '
+ 'reliable (do not mix well with threading) on freebsd6\n')
return
# This function spawns a child process to insulate the main
# test-running process from all the signals. It then
@@ -435,9 +436,10 @@
def test_itimer_virtual(self):
# Issue 3864, unknown if this affects earlier versions of freebsd also
- if sys.platform=='freebsd6' and test_support.verbose:
- sys.stderr.write('skipping -- itimer not reliable '
- '(does not mix well with threading) on freebsd6\n')
+ if sys.platform=='freebsd6':
+ if test_support.verbose:
+ sys.stderr.write('skipping -- itimer not reliable (does not '
+ 'mix well with threading) on freebsd6\n')
return
self.itimer = signal.ITIMER_VIRTUAL
signal.signal(signal.SIGVTALRM, self.sig_vtalrm)
@@ -461,9 +463,10 @@
def test_itimer_prof(self):
# Issue 3864, unknown if this affects earlier versions of freebsd also
- if sys.platform=='freebsd6' and test_support.verbose:
- sys.stderr.write('skipping -- itimer not reliable '
- '(does not mix well with threading) on freebsd6\n')
+ if sys.platform=='freebsd6':
+ if test_support.verbose:
+ sys.stderr.write('skipping -- itimer not reliable (does not '
+ 'mix well with threading) on freebsd6\n')
return
self.itimer = signal.ITIMER_PROF
signal.signal(signal.SIGPROF, self.sig_prof)
More information about the Python-checkins
mailing list