Remove warnings.simplefilter to suppress ResourceWarning

This commit removes warnings.simplefilter from
tempest.lib.services.clients code to suppress annoying ResourceWarning
like following.

 ResourceWarning: unclosed file <_io.FileIO....

Change-Id: I9e96cfc062bbdaf73f8a4efb9af9dc581c96994f
This commit is contained in:
Masayuki Igawa 2019-01-29 20:48:59 +09:00
parent 62dd36b1bb
commit d8d0d6e95a
No known key found for this signature in database
GPG Key ID: 290F53EDC899BF89
1 changed files with 0 additions and 2 deletions

View File

@ -18,7 +18,6 @@ import copy
import importlib
import inspect
import sys
import warnings
from debtcollector import removals
from oslo_log import log as logging
@ -35,7 +34,6 @@ from tempest.lib.services import object_storage
from tempest.lib.services import placement
from tempest.lib.services import volume
warnings.simplefilter("once")
LOG = logging.getLogger(__name__)