Remove workaround for Python < 3.7.4

... because now ironic supports only Python >= 3.8.

Change-Id: I2f26f74ce8e549ee22dc0f84c3360993cff6a71e
This commit is contained in:
Takashi Kajinami 2022-07-17 00:25:54 +09:00
parent 39a7f58002
commit d90e59057b
1 changed files with 0 additions and 4 deletions

View File

@ -136,10 +136,6 @@ class TestCase(oslo_test_base.BaseTestCase):
# subprocess.Popen is a class
self.patch(subprocess, 'Popen', DoNotCallPopen)
if sys.version_info < (3, 7, 4):
_patch_mock_callable._old_func = mock._callable
mock._callable = _patch_mock_callable
def _set_config(self):
self.cfg_fixture = self.useFixture(config_fixture.Config(CONF))
self.config(use_stderr=False,