Author: Armin Rigo <ar...@tunes.org>
Branch: py3k
Changeset: r69276:4b0188d1eb55
Date: 2014-02-23 08:34 +0100
http://bitbucket.org/pypy/pypy/changeset/4b0188d1eb55/

Log:    Fix bogus skipif which always skips these tests

diff --git a/pypy/module/thread/test/test_lock.py 
b/pypy/module/thread/test/test_lock.py
--- a/pypy/module/thread/test/test_lock.py
+++ b/pypy/module/thread/test/test_lock.py
@@ -1,6 +1,6 @@
 from __future__ import with_statement
 import py
-import sys
+import sys, os
 from pypy.module.thread.test.support import GenericTestThread
 from rpython.translator.c.test.test_genc import compile
 
@@ -150,7 +150,7 @@
 
 
 class AppTestLockSignals(GenericTestThread):
-    pytestmark = py.test.mark.skipif("sys.platform != 'posix'")
+    pytestmark = py.test.mark.skipif("os.name != 'posix'")
 
     def setup_class(cls):
         cls.w_using_pthread_cond = cls.space.wrap(sys.platform == 'freebsd6')
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to