Skip to content

Commit 747f480

Browse files
committed
ENH: add tzdata to the _hard_dependencies
1 parent 5f354ca commit 747f480

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
__docformat__ = "restructuredtext"
44

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

88
for _dependency in _hard_dependencies:
99
try:

pandas/tests/test_downstream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def test_yaml_dump(df):
187187
tm.assert_frame_equal(df, loaded2)
188188

189189

190-
@pytest.mark.parametrize("dependency", ["numpy", "dateutil"])
190+
@pytest.mark.parametrize("dependency", ["numpy", "dateutil", "tzdata"])
191191
def test_missing_required_dependency(monkeypatch, dependency):
192192
# GH#61030
193193
original_import = __import__

0 commit comments

Comments
 (0)