Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pandas/compat/_optional.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def import_optional_dependency(

msg = (
f"`Import {install_name}` failed. {extra} "
f"Use pip or conda to install the {install_name} package."
f"Please install the {install_name} package."
)
try:
module = importlib.import_module(name)
Expand Down
2 changes: 1 addition & 1 deletion pandas/tests/io/test_fsspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def test_s3_parquet(s3_bucket_public, s3so, df1):

@td.skip_if_installed("fsspec")
def test_not_present_exception():
msg = "`Import fsspec` failed. Use pip or conda to install the fsspec package."
msg = "`Import fsspec` failed. Please install the fsspec package."
with pytest.raises(ImportError, match=msg):
read_csv("memory://test/test.csv")

Expand Down
2 changes: 1 addition & 1 deletion pandas/tests/io/test_parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ def test_get_engine_auto_error_message():
with pytest.raises(ImportError, match=match):
get_engine("auto")
else:
match = "Use pip or conda to install the fastparquet package"
match = "Please install the fastparquet package"
with pytest.raises(ImportError, match=match):
get_engine("auto")

Expand Down
Loading