Skip to content

Commit 76c76ac

Browse files
author
l0g0idz
committed
Test coverage for excel.py
1 parent 35b0d1d commit 76c76ac

File tree

2 files changed

+556
-4
lines changed

2 files changed

+556
-4
lines changed

pandas/io/formats/excel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ def __init__(
566566
if cols is not None:
567567
# all missing, raise
568568
if not len(Index(cols).intersection(df.columns)):
569-
raise KeyError("passes columns are not ALL present dataframe")
569+
raise KeyError("Passed columns are not ALL present dataframe")
570570

571571
if len(Index(cols).intersection(df.columns)) != len(set(cols)):
572572
# Deprecated in GH#17295, enforced in 1.0.0

0 commit comments

Comments
 (0)