Skip to content

Commit

Permalink
test: removed date format test in schema_in
Browse files Browse the repository at this point in the history
  • Loading branch information
lealre committed Jun 30, 2024
1 parent 863a746 commit 97a4f7b
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tests/test_schema_in.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,6 @@ def test_parse_to_datetime():
CompanyRevenueBase.validate(df, lazy=True)


def test_date_with_day():
df = pd.DataFrame({
'company': ['ABC Inc', 'company'],
'currency': ['USD', 'USD'],
'operational_revenue': [1000, 2000],
'date': ['2020-02', 'March 2022 02']
})

with pytest.raises(pa.errors.SchemaErrors):
CompanyRevenueBase.validate(df, lazy=True)


def test_dates_differents():
df = pd.DataFrame({
'company': ['ABC Inc', 'company'],
Expand Down

0 comments on commit 97a4f7b

Please sign in to comment.