Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r63356:79963e004359
Date: 2013-04-14 16:33 -0700
http://bitbucket.org/pypy/pypy/changeset/79963e004359/
Log: special case an appdirect difference
diff --git a/pypy/module/signal/test/test_signal.py
b/pypy/module/signal/test/test_signal.py
--- a/pypy/module/signal/test/test_signal.py
+++ b/pypy/module/signal/test/test_signal.py
@@ -41,6 +41,7 @@
def setup_class(cls):
cls.w_signal = cls.space.getbuiltinmodule('signal')
+ cls.w_appdirect = cls.space.wrap(cls.runappdirect)
def test_exported_names(self):
import os
@@ -137,7 +138,8 @@
pass
try:
- assert getsignal(SIGINT) == SIG_DFL
+ if not self.appdirect:
+ assert getsignal(SIGINT) == SIG_DFL
signal(SIGINT, SIG_DFL)
assert getsignal(SIGINT) == SIG_DFL
signal(SIGINT, SIG_IGN)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit