Skip to content

Commit 2d1022a

Browse files
committed
Fix broken red-knot property tests
1 parent 0361021 commit 2d1022a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

crates/red_knot_python_semantic/src/types/property_tests.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,7 @@ impl Ty {
150150
Ty::BuiltinsFunction(name) => builtins_symbol(db, name).symbol.expect_type(),
151151
Ty::BuiltinsBoundMethod { class, method } => {
152152
let builtins_class = builtins_symbol(db, class).symbol.expect_type();
153-
let function = builtins_class
154-
.class_member(db, method.into())
155-
.symbol
156-
.expect_type();
153+
let function = builtins_class.member(db, method).symbol.expect_type();
157154

158155
create_bound_method(db, function, builtins_class)
159156
}

0 commit comments

Comments
 (0)