Skip to content

Commit e2ab372

Browse files
kirill-bashDr-Irv
andauthored
correcting conditional
Co-authored-by: Irv Lustig <[email protected]>
1 parent aaa1094 commit e2ab372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_frame.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ def test_types_drop_duplicates() -> None:
383383
check(assert_type(df.drop_duplicates(("AAA",)), pd.DataFrame), pd.DataFrame)
384384
check(assert_type(df.drop_duplicates("AAA"), pd.DataFrame), pd.DataFrame)
385385

386-
if PD_LTE_22:
386+
if not PD_LTE_22:
387387
check(assert_type(df.drop_duplicates({"AAA"}), pd.DataFrame), pd.DataFrame)
388388
check(assert_type(df.drop_duplicates({"AAA": None}), pd.DataFrame), pd.DataFrame)
389389

0 commit comments

Comments
 (0)