Remove py26 artefacts from oslo.messaging code

If we are not support py26 anymore, we can remove py26 tox environment
and some specific code.

Change-Id: I9b935c0bcbb4ddfd5388ad5ad76c6e7662c9f2fa
This commit is contained in:
Victor Sergeyev
2015-07-06 11:58:36 +03:00
parent 7c2aa0ced0
commit 2734fc8f50
5 changed files with 1 additions and 15 deletions

View File

@@ -20,7 +20,6 @@ import sys
from oslo_utils import timeutils
import testscenarios
import testtools
import oslo_messaging
from oslo_messaging.tests.notify import test_notifier
@@ -100,8 +99,6 @@ class TestLogNotifier(test_utils.BaseTestCase):
'extra': None},
n['payload'])
@testtools.skipUnless(hasattr(logging.config, 'dictConfig'),
"Need logging.config.dictConfig (Python >= 2.7)")
@mock.patch('oslo_utils.timeutils.utcnow')
def test_logging_conf(self, mock_utcnow):
with mock.patch('oslo_messaging.transport.get_transport',