Skip to content

Commit

Permalink
Merge pull request #46 from matyasselmeci/import
Browse files Browse the repository at this point in the history
Import tweaks
  • Loading branch information
matyasselmeci authored Mar 29, 2017
2 parents 0628b53 + 43c76b6 commit 36a0d19
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions tests/test_info_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,17 @@

from osg_configure.modules import exceptions
from osg_configure.configure_modules import infoservices
from osg_configure.modules import utilities
from osg_configure.modules import utilities
from osg_configure.modules.utilities import get_test_config

global_logger = logging.getLogger(__name__)
if sys.version_info[0] >= 2 and sys.version_info[1] > 6:
global_logger.addHandler(logging.NullHandler())
else:
try:
from logging import NullHandler
except ImportError:
class NullHandler(logging.Handler):
def emit(self, record):
pass

global_logger.addHandler(NullHandler())
global_logger.addHandler(NullHandler())


class TestInfoServices(unittest.TestCase):
Expand Down

0 comments on commit 36a0d19

Please sign in to comment.