Commit 67ce27e0 authored by Fred Drake's avatar Fred Drake

only run tests of Unix-specific behavior on Unix

parent 46b304bd
...@@ -103,7 +103,8 @@ class ZopeStarterTestCase(unittest.TestCase): ...@@ -103,7 +103,8 @@ class ZopeStarterTestCase(unittest.TestCase):
locale.setlocale(locale.LC_ALL, '') locale.setlocale(locale.LC_ALL, '')
def testSetupStartupHandler(self): def testSetupStartupHandler(self):
import zLOG if sys.platform[:3].lower() == "win":
return
conf = self.load_config_text(""" conf = self.load_config_text("""
instancehome <<INSTANCE_HOME>> instancehome <<INSTANCE_HOME>>
debug-mode on debug-mode on
...@@ -242,7 +243,8 @@ class ZopeStarterTestCase(unittest.TestCase): ...@@ -242,7 +243,8 @@ class ZopeStarterTestCase(unittest.TestCase):
os.getuid = _old_getuid os.getuid = _old_getuid
def testSetupConfiguredLoggers(self): def testSetupConfiguredLoggers(self):
import zLOG if sys.platform[:3].lower() == "win":
return
conf = self.load_config_text(""" conf = self.load_config_text("""
instancehome <<INSTANCE_HOME>> instancehome <<INSTANCE_HOME>>
debug-mode off debug-mode off
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment