diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2010-10-01 13:27:43 +0100 |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2010-10-01 13:27:43 +0100 |
commit | 5b265c4b6ec7adf5ccff8424e15acc5bad221332 (patch) | |
tree | 7bfbacb593e224a360559d67d12e014929c59d5d /tests/logutil_tests.py | |
download | logutils-0.1.tar.gz |
Initial import.0.1
Diffstat (limited to 'tests/logutil_tests.py')
-rw-r--r-- | tests/logutil_tests.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/logutil_tests.py b/tests/logutil_tests.py new file mode 100644 index 0000000..3767e96 --- /dev/null +++ b/tests/logutil_tests.py @@ -0,0 +1,11 @@ +import sys +from test_testing import LoggingTest +from test_dictconfig import ConfigDictTest +from test_queue import QueueTest +# The adapter won't work in < 2.5 because the "extra" parameter used by it +# only appeared in 2.5 :-( +if sys.version_info[:2] >= (2, 5): + from test_adapter import AdapterTest +else: + print("LoggerAdapter won't work in Python < 2.5, so its tests are being " + "skipped.") |