Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r54131:76c5931f64cc Date: 2012-04-01 20:27 +0200 http://bitbucket.org/pypy/pypy/changeset/76c5931f64cc/
Log: Bah. This test used to fail if the current "nice" level is 17, 18 or 19. diff --git a/pypy/translator/c/test/test_extfunc.py b/pypy/translator/c/test/test_extfunc.py --- a/pypy/translator/c/test/test_extfunc.py +++ b/pypy/translator/c/test/test_extfunc.py @@ -919,4 +919,5 @@ t, cbuilder = self.compile(does_stuff) data = cbuilder.cmdexec('') res = os.nice(0) + 3 + if res > 19: res = 19 # xxx Linux specific, probably assert data.startswith('os.nice returned %d\n' % res) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit