File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed
Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,6 @@ def set_fmt(fmt_string):
5757_logger .setLevel (logging .DEBUG )
5858
5959
60-
6160# Export functions and objects.
6261inner_logger = _logger # Don't use this except if you know what you are doing.
6362inner_stream_handler = _stream_handler # Same thing for this object.
Original file line number Diff line number Diff line change 88from friendlylog import colored_logger as logger
99from threading import Thread
1010
11+ if six .PY2 :
12+ import unittest2 as unittest
13+ else :
14+ import unittest
15+
16+
1117
1218# Tests cannot be executed in parallel due to the hack in the setUp method.
1319class TestColoredLogger (unittest .TestCase ):
Original file line number Diff line number Diff line change 33import random
44import six
55import string
6- import unittest
76
87from friendlylog import simple_logger as logger
9-
108from threading import Thread
119
10+ if six .PY2 :
11+ import unittest2 as unittest
12+ else :
13+ import unittest
14+
1215
1316# Tests cannot be executed in parallel due to the hack in the setUp method.
1417class TestSimpleLogger (unittest .TestCase ):
You can’t perform that action at this time.
0 commit comments