[Python-checkins] r80941 - python/branches/siginterrupt-reset-issue8354/Lib/test/test_signal.py
jean-paul.calderone
python-checkins at python.org
Sat May 8 00:41:56 CEST 2010
Author: jean-paul.calderone
Date: Sat May 8 00:41:56 2010
New Revision: 80941
Log:
Use single blank line between methods
Modified:
python/branches/siginterrupt-reset-issue8354/Lib/test/test_signal.py
Modified: python/branches/siginterrupt-reset-issue8354/Lib/test/test_signal.py
==============================================================================
--- python/branches/siginterrupt-reset-issue8354/Lib/test/test_signal.py (original)
+++ python/branches/siginterrupt-reset-issue8354/Lib/test/test_signal.py Sat May 8 00:41:56 2010
@@ -264,7 +264,6 @@
oldhandler = signal.signal(self.signum, lambda x,y: None)
self.addCleanup(signal.signal, self.signum, oldhandler)
-
def readpipe_interrupted(self, cb):
"""Perform a read during which a signal will arrive. Return True if
the read is interrupted by the signal and raises an exception, False
@@ -323,7 +322,6 @@
raise
return True
-
def test_without_siginterrupt(self):
"""If a signal handler is installed and siginterrupt is not called
at all, when that signal arrives, it interrupts a syscall that's in
@@ -335,7 +333,6 @@
i = self.readpipe_interrupted(lambda: None)
self.assertEquals(i, True)
-
def test_siginterrupt_on(self):
"""If a signal handler is installed and siginterrupt is called with
a true value for the second argument, when that signal arrives, it
@@ -347,7 +344,6 @@
i = self.readpipe_interrupted(lambda: None)
self.assertEquals(i, True)
-
def test_siginterrupt_off(self):
"""If a signal handler is installed and siginterrupt is called with
a false value for the second argument, when that signal arrives, it
More information about the Python-checkins
mailing list