From 40e10038783642bc4dcb6976362463bf6e396e69 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 3 Sep 2024 16:06:22 +0900 Subject: [PATCH] Remove skip check for Python 3.6 ... because python 3.6 is no longer supported. Change-Id: I382b315d59b1f77c44dc2372d26a957b8d1b510f --- ironic/tests/unit/api/controllers/v1/test_node.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ironic/tests/unit/api/controllers/v1/test_node.py b/ironic/tests/unit/api/controllers/v1/test_node.py index 5411aa3459..293ef854d8 100644 --- a/ironic/tests/unit/api/controllers/v1/test_node.py +++ b/ironic/tests/unit/api/controllers/v1/test_node.py @@ -17,7 +17,6 @@ import datetime from http import client as http_client import json import os -import sys import tempfile from unittest import mock from urllib import parse as urlparse @@ -151,10 +150,6 @@ class TestListNodes(test_api_base.BaseApiTest): @mock.patch.object(policy, 'check_policy', autospec=True) def test_one_field_specific_santization(self, mock_check_policy, mock_check): - py_ver = sys.version_info - if py_ver.major == 3 and py_ver.minor == 6: - self.skipTest('Test fails to work on python 3.6 when ' - 'matching mock.ANY.') obj_utils.create_test_node(self.context, chassis_id=self.chassis.id, last_error='meow')