From 9d6f373bec5b006ce55bf26290b0da1b82f3d8d3 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Fri, 7 Mar 2025 21:56:19 +0900 Subject: [PATCH] Drop workaround for old oslotest version with six We already removed usage of six globally so no longer need this workaround. Change-Id: I921dba57b291c9e551c8481032a56bae4453875e --- oslo_messaging/tests/__init__.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/oslo_messaging/tests/__init__.py b/oslo_messaging/tests/__init__.py index ed8a3f831..a75944b6d 100644 --- a/oslo_messaging/tests/__init__.py +++ b/oslo_messaging/tests/__init__.py @@ -15,9 +15,3 @@ import eventlet eventlet.monkey_patch() - -# oslotest prepares mock for six in oslotest/__init__.py as follow: -# six.add_move(six.MovedModule('mock', 'mock', 'unittest.mock')) and -# oslo.messaging imports oslotest before importing test submodules to -# setup six.moves for mock, then "from unittest import mock" works well. -import oslotest