Skip to content
Merged
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/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
__docformat__ = "restructuredtext"

# Let users know if they're missing any of our hard dependencies
_hard_dependencies = ("numpy", "dateutil")
_hard_dependencies = ("numpy", "dateutil", "tzdata")

for _dependency in _hard_dependencies:
try:
Expand Down
4 changes: 2 additions & 2 deletions pandas/tests/test_downstream.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,9 @@ def test_yaml_dump(df):
tm.assert_frame_equal(df, loaded2)


@pytest.mark.parametrize("dependency", ["numpy", "dateutil"])
@pytest.mark.parametrize("dependency", ["numpy", "dateutil", "tzdata"])
def test_missing_required_dependency(monkeypatch, dependency):
# GH#61030
# GH#61030, GH61273
original_import = __import__
mock_error = ImportError(f"Mock error for {dependency}")

Expand Down
Loading