Skip to content
Browse files

Bah. This test used to fail if the current "nice" level is 17, 18 or

19.
  • Loading branch information...
1 parent 4846726 commit 377492702b9cbc4b0f71335355dfe43da883956a Armin Rigo committed Apr 1, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 pypy/translator/c/test/test_extfunc.py
View
1 pypy/translator/c/test/test_extfunc.py
@@ -919,4 +919,5 @@ def does_stuff(argv):
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)

0 comments on commit 3774927

Please sign in to comment.
Something went wrong with that request. Please try again.