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/

Empty file removed.

File pypy/module/_winreg/test/

 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):