Skip to content

Commit 977469f

Browse files
committed
resolve class using
1 parent 460c666 commit 977469f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/config/test_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def test_each_metric_in_config_accepts_ast():
2323

2424

2525
def is_ast_or_subclass(ann):
26-
if ann is inspect._empty:
26+
if ann is inspect.Signature.empty:
2727
return False
2828
if isinstance(ann, str):
2929
return ann == 'AST' or ann.endswith('.AST')

0 commit comments

Comments
 (0)