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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user