mirror of https://github.com/python/cpython.git
Skip test_mhlib on Windows -- too many Unix assumptions.
This commit is contained in:
parent
e4deb959cc
commit
c7ca3ffba3
|
@ -7,11 +7,15 @@
|
||||||
### mhlib. It should.
|
### mhlib. It should.
|
||||||
|
|
||||||
import unittest
|
import unittest
|
||||||
from test_support import run_unittest, TESTFN
|
from test_support import run_unittest, TESTFN, TestSkipped
|
||||||
import os, StringIO
|
import os, StringIO
|
||||||
|
import sys
|
||||||
import mhlib
|
import mhlib
|
||||||
|
|
||||||
|
if sys.platform.startswith("win"):
|
||||||
|
raise TestSkipped("test_mhlib skipped on Windows -- "
|
||||||
|
"too many Unix assumptions")
|
||||||
|
|
||||||
_mhroot = TESTFN+"_MH"
|
_mhroot = TESTFN+"_MH"
|
||||||
_mhpath = os.path.join(_mhroot, "MH")
|
_mhpath = os.path.join(_mhroot, "MH")
|
||||||
_mhprofile = os.path.join(_mhroot, ".mh_profile")
|
_mhprofile = os.path.join(_mhroot, ".mh_profile")
|
||||||
|
|
Loading…
Reference in New Issue