summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_syslog.py
diff options
context:
space:
mode:
authorKristján Valur Jónsson <kristjan@ccpgames.com>2009-04-01 11:28:47 (GMT)
committerKristján Valur Jónsson <kristjan@ccpgames.com>2009-04-01 11:28:47 (GMT)
commit42a40c59a0bc94d29e5fd61cada2d8c0763211d6 (patch)
tree94eee2be7820a758772406882a7393a7e9e7155a /Lib/test/test_syslog.py
parente3944a5e1ecf67aa722fd9ce0c0a4ee72ee5ba2d (diff)
downloadcpython-42a40c59a0bc94d29e5fd61cada2d8c0763211d6.zip
cpython-42a40c59a0bc94d29e5fd61cada2d8c0763211d6.tar.gz
cpython-42a40c59a0bc94d29e5fd61cada2d8c0763211d6.tar.bz2
Allow skipping of regression tests not supported on windows. This reduces noise in the regression test suite for py3k on Windows.
Diffstat (limited to 'Lib/test/test_syslog.py')
-rw-r--r--Lib/test/test_syslog.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_syslog.py b/Lib/test/test_syslog.py
index 3a3d635..028dcb4 100644
--- a/Lib/test/test_syslog.py
+++ b/Lib/test/test_syslog.py
@@ -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.