diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-08-09 21:34:54 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-08-09 21:34:54 (GMT) |
commit | c7ca3ffba3d41f24f6f66d40391a044f199785ac (patch) | |
tree | 199e56a1ff46c97d74538375e629cdc5a36bf54f /Lib | |
parent | e4deb959cce4b35c17a48c7a7ec3cfb7bf860edf (diff) | |
download | cpython-c7ca3ffba3d41f24f6f66d40391a044f199785ac.zip cpython-c7ca3ffba3d41f24f6f66d40391a044f199785ac.tar.gz cpython-c7ca3ffba3d41f24f6f66d40391a044f199785ac.tar.bz2 |
Skip test_mhlib on Windows -- too many Unix assumptions.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_mhlib.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Lib/test/test_mhlib.py b/Lib/test/test_mhlib.py index a787962..b4d99fe 100644 --- a/Lib/test/test_mhlib.py +++ b/Lib/test/test_mhlib.py @@ -7,11 +7,15 @@ ### mhlib. It should. import unittest -from test_support import run_unittest, TESTFN +from test_support import run_unittest, TESTFN, TestSkipped import os, StringIO - +import sys import mhlib +if sys.platform.startswith("win"): + raise TestSkipped("test_mhlib skipped on Windows -- " + "too many Unix assumptions") + _mhroot = TESTFN+"_MH" _mhpath = os.path.join(_mhroot, "MH") _mhprofile = os.path.join(_mhroot, ".mh_profile") |