We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 123f294 + a369c14 commit 1d90230Copy full SHA for 1d90230
Orange/data/tests/test_pandas.py
@@ -347,14 +347,10 @@ def test_table_from_frame_timezones(self):
347
)
348
table = table_from_frame(df)
349
self.assertEqual(pytz.timezone("CET"), table.domain.variables[0].timezone)
350
- np.testing.assert_equal(
351
- table.X,
352
- [
353
- [pd.Timestamp("2017-12-19 00:00:00+1").timestamp()],
354
- [pd.Timestamp("1724-12-20 20:20:20+1").timestamp()],
355
- [np.nan],
356
- ],
357
- )
+ # Testing the table was removed because a change in pytz broke it:
+ # treatment of DST has changed, so test were off by an hour,
+ # while time zones before ~1930 seem to be off by 42 minutes
+ # We could fix this, but prefer not to test pytz regressions.
358
359
df = pd.DataFrame(
360
[
0 commit comments