Skip to content

Commit c7ca3ff

Browse files
committed
Skip test_mhlib on Windows -- too many Unix assumptions.
1 parent e4deb95 commit c7ca3ff

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

Lib/test/test_mhlib.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,15 @@
77
### mhlib. It should.
88

99
import unittest
10-
from test_support import run_unittest, TESTFN
10+
from test_support import run_unittest, TESTFN, TestSkipped
1111
import os, StringIO
12-
12+
import sys
1313
import mhlib
1414

15+
if sys.platform.startswith("win"):
16+
raise TestSkipped("test_mhlib skipped on Windows -- "
17+
"too many Unix assumptions")
18+
1519
_mhroot = TESTFN+"_MH"
1620
_mhpath = os.path.join(_mhroot, "MH")
1721
_mhprofile = os.path.join(_mhroot, ".mh_profile")

0 commit comments

Comments
 (0)