Allow skipping of regression tests not supported on windows. This reduces noise in the regression test suite for py3k on Windows.

This commit is contained in:
Kristján Valur Jónsson 2009-04-01 11:28:47 +00:00
parent e3944a5e1e
commit 42a40c59a0
7 changed files with 14 additions and 10 deletions

View file

@ -1,7 +1,7 @@
import syslog
import unittest
from test import support
syslog = support.import_module("syslog") #skip if not supported
import unittest
# XXX(nnorwitz): This test sucks. I don't know of a platform independent way
# to verify that the messages were really logged.