[pypy-commit] pypy default: Skip these two tests if we're running on a Mac, where they seem to hang

arigo noreply at buildbot.pypy.org
Wed Apr 3 17:17:41 CEST 2013


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r62977:7f69a708a9bf
Date: 2013-04-03 17:17 +0200
http://bitbucket.org/pypy/pypy/changeset/7f69a708a9bf/

Log:	Skip these two tests if we're running on a Mac, where they seem to
	hang forever.

diff --git a/pypy/module/test_lib_pypy/pyrepl/test_bugs.py b/pypy/module/test_lib_pypy/pyrepl/test_bugs.py
--- a/pypy/module/test_lib_pypy/pyrepl/test_bugs.py
+++ b/pypy/module/test_lib_pypy/pyrepl/test_bugs.py
@@ -24,6 +24,7 @@
 # (applicable) bug reports
 
 import pytest
+import os, sys
 
 
 class HistoricalTestReader(HistoricalReader, BaseTestReader):
@@ -46,7 +47,7 @@
     read_spec(spec, HistoricalTestReader)
 
 
- at pytest.mark.skipif("os.name != 'posix'")
+ at pytest.mark.skipif("os.name != 'posix' or 'darwin' in sys.platform")
 def test_signal_failure(monkeypatch):
     import os
     import pty
diff --git a/pypy/module/test_lib_pypy/pyrepl/test_readline.py b/pypy/module/test_lib_pypy/pyrepl/test_readline.py
--- a/pypy/module/test_lib_pypy/pyrepl/test_readline.py
+++ b/pypy/module/test_lib_pypy/pyrepl/test_readline.py
@@ -1,7 +1,8 @@
 import pytest
+import os, sys
 
 
- at pytest.mark.skipif("os.name != 'posix'")
+ at pytest.mark.skipif("os.name != 'posix' or 'darwin' in sys.platform")
 def test_raw_input():
     import os
     import pty


More information about the pypy-commit mailing list