Remove deprecation warnings when running actor tests (#3563)

* remove deprecation warnings when running actor tests

* replacing logger.warn with logger.warning

* Update worker.py

* Update policy_client.py

* Update compression.py
This commit is contained in:
Alexey Tumanov
2018-12-18 17:04:51 -08:00
committed by Philipp Moritz
parent fb33fa9097
commit c4cba98c75
12 changed files with 23 additions and 21 deletions
+1 -1
View File
@@ -227,7 +227,7 @@ def _is_resolved(v):
def _try_resolve(v):
if isinstance(v, types.FunctionType):
logger.warn(
logger.warning(
"Deprecation warning: Function values are ambiguous in Tune "
"configuations. Either wrap the function with "
"`tune.function(func)` to specify a function literal, or "