Skip to content

Commit da88cab

Browse files
GH1411 Change __and__ method to &
1 parent 6376849 commit da88cab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_extension.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,5 @@ def test_boolean_array() -> None:
6363
"""Test creation of and operations on BooleanArray GH1411."""
6464
arr = pd.array([True], dtype="boolean")
6565
check(assert_type(arr, BooleanArray), BooleanArray)
66-
arr_and = arr.__and__(arr)
66+
arr_and = arr & arr
6767
check(assert_type(arr_and, BooleanArray), BooleanArray)

0 commit comments

Comments
 (0)