mirror of
https://github.com/wassname/ray.git
synced 2026-07-27 11:26:41 +08:00
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:
committed by
Philipp Moritz
parent
fb33fa9097
commit
c4cba98c75
@@ -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 "
|
||||
|
||||
Reference in New Issue
Block a user