Skip to content

Commit d9d86e1

Browse files
committed
Make test pass
1 parent 6a35c6b commit d9d86e1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

python/ql/src/Functions/IncorrectRaiseInSpecialMethod.ql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,6 @@ private predicate ordering_method(string name) {
8282
private predicate cast_method(string name) {
8383
name = "__nonzero__" and major_version() = 2
8484
or
85-
name = "__bool__"
86-
or
8785
name = "__int__"
8886
or
8987
name = "__float__"

0 commit comments

Comments
 (0)