Ticket #4331: 4331.patch

File 4331.patch, 1.0 KB (added by michaelnt, 3 years ago)
  • twisted/internet/test/test_process.py

     
    1 # Copyright (c) 2008-2010 Twisted Matrix Laboratories. 
     1# Copyright (c) 2008-2011 Twisted Matrix Laboratories. 
    22# See LICENSE for details. 
    33 
    44""" 
     
    2020from twisted.internet.defer import Deferred, succeed 
    2121from twisted.internet.protocol import ProcessProtocol 
    2222from twisted.internet.error import ProcessDone, ProcessTerminated 
     23from twisted.internet import _signals 
    2324 
    2425 
    2526 
     
    226227        if reactorClassName in skippedReactors and not hasSigInterrupt: 
    227228            raise SkipTest( 
    228229                "%s is not supported without siginterrupt" % reactorClassName) 
     230        if _signals.installHandler.__name__  == "_installHandlerUsingSignal": 
     231            raise SkipTest("_signals._installHandlerUsingSignal doesn't support this feature") 
    229232 
    230233        result = [] 
    231234