Skip to content

Commit

Permalink
test_pandas - Remove skips
Browse files Browse the repository at this point in the history
  • Loading branch information
PrimozGodec committed Aug 30, 2023
1 parent 75fdd6e commit 713ef30
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions Orange/data/tests/test_pandas.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# pylint: disable=import-outside-toplevel
import unittest
from datetime import date, datetime, timezone, timedelta
from unittest import skipIf

import numpy as np
import pandas as pd
Expand Down Expand Up @@ -200,11 +199,6 @@ def test_table_from_frame_date(self):
self.assertEqual(table.domain.variables[0].have_time, 0)
self.assertEqual(table.domain.variables[0].have_date, 1)

@skipIf(
datetime.today() < datetime(2023, 10, 1),
"Temporarily skipping because of pandas issue",
)
# https://github.com/pandas-dev/pandas/issues/53134#issuecomment-1546011517
def test_table_from_frame_time(self):
df = pd.DataFrame(
[[pd.Timestamp("00:00:00.25")], [pd.Timestamp("20:20:20.30")], [np.nan]]
Expand Down Expand Up @@ -418,11 +412,6 @@ def testa_table_from_frame_string(self):
)
self.assertTrue(all(isinstance(v, StringVariable) for v in table.domain.metas))

@skipIf(
datetime.today() < datetime(2023, 10, 1),
"Temporarily skipping because of pandas issue",
)
# https://github.com/pandas-dev/pandas/issues/53134#issuecomment-1546011517
def test_time_variable_compatible(self):
def to_df(val):
return pd.DataFrame([[pd.Timestamp(val)]])
Expand Down

0 comments on commit 713ef30

Please sign in to comment.