[pypy-commit] pypy default: skip select(file) tests on windows
mattip
noreply at buildbot.pypy.org
Sun Feb 9 21:13:43 CET 2014
Author: Matti Picus <matti.picus at gmail.com>
Branch:
Changeset: r69108:a6787c81b80b
Date: 2014-02-09 21:59 +0200
http://bitbucket.org/pypy/pypy/changeset/a6787c81b80b/
Log: skip select(file) tests on windows
diff --git a/rpython/rlib/test/test_rpoll.py b/rpython/rlib/test/test_rpoll.py
--- a/rpython/rlib/test/test_rpoll.py
+++ b/rpython/rlib/test/test_rpoll.py
@@ -1,5 +1,6 @@
import os
import errno
+import py
from rpython.rlib.rsocket import *
from rpython.rlib.rpoll import *
@@ -55,6 +56,8 @@
serv.close()
def test_select():
+ if os.name == 'nt':
+ py.test.skip('cannot select on file handles on windows')
def f():
readend, writeend = os.pipe()
try:
@@ -72,6 +75,8 @@
interpret(f, [])
def test_select_timeout():
+ if os.name == 'nt':
+ py.test.skip('cannot select on file handles on windows')
from time import time
def f():
# once there was a bug where the sleeping time was doubled
More information about the pypy-commit
mailing list