DateTime 0.29 made changes to the date math wrt to DST, so tests that
expected to fail when resulting datetime is invalid now are complaining.
I haven't checked all the tests yet, but here's at least one...
Index: t/09changes.t
===================================================================
RCS file: /cvsroot/perl-date-time/modules/DateTime-TimeZone/t/09changes.t,v
retrieving revision 1.15
diff -d -u -r1.15 09changes.t
--- t/09changes.t 20 Oct 2003 15:11:47 -0000 1.15
+++ t/09changes.t 6 Jul 2005 06:55:31 -0000
@@ -313,9 +313,12 @@
hour => 2,
time_zone => 'America/Chicago',
);
-
- eval { $dt->add( days => 1 ) };
- like( $@, qr/Invalid local time .+/, 'exception for invalid time
produced via add' );
+ SKIP: {
+ skip 'DateTime >= 0.29 does not have this problem', 1 if
+ $DateTime::VERSION >= 0.29;
+ eval { $dt->add( days => 1 ) };
+ like( $@, qr/Invalid local time .+/, 'exception for invalid
time produced via add' );
+ }
}
{