Skip to content

Commit 819efeb

Browse files
committed
Fixes tests on Windows
1 parent 59229fe commit 819efeb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,7 @@ def skip_if_36(self):
120120
def skip_if_32bit(self):
121121
if struct.calcsize("P") * 8 == 32:
122122
self.skipTest('Tests only available for 64bit systems')
123+
124+
def skip_if_windows(self):
125+
if sys.platform == 'win32':
126+
self.skipTest('Tests only available for UNIX systems')

0 commit comments

Comments
 (0)