Commits

Ronny Pfannschmidt committed 1b0b2f5

kill winreg test __init__ to avoid importing and skip on collection instead of execution

  • Participants
  • Parent commits 761524c
  • Branches pytest

Comments (0)

Files changed (2)

File pypy/module/_winreg/test/__init__.py

Empty file removed.

File pypy/module/_winreg/test/test_winreg.py

 from rpython.tool.udir import udir
 
 import os, sys, py
-pytestmark = py.test.mark.skipif('sys.platform != "win32"', reason='_winreg is a win32 module')
 
 canSaveKey = None
 
+#XXX: mark again
+if sys.platform != "win32":
+    py.test.skip('_winreg is a win32 module')
 
 def setup_module(mod):
     try: