Skip to content

Commit

Permalink
format lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rfl-urbaniak committed Nov 15, 2024
1 parent 0bd6ab0 commit 647d83a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/test_data_grabber.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,11 @@ def general_data_format_testing(data, features, level="county_msa"):
)


def check_years(df):
current_year = pd.Timestamp.now().year
for year in df["Year"].unique():
assert year > 1945, f"Year {year} in is not greater than 1945."
assert year <= current_year, f"Year {year} exceeds the current year."
# def check_years(df):
# current_year = pd.Timestamp.now().year
# for year in df["Year"].unique():
# assert year > 1945, f"Year {year} in is not greater than 1945."
# assert year <= current_year, f"Year {year} exceeds the current year."


def test_missing_years():
Expand Down

0 comments on commit 647d83a

Please sign in to comment.