[Liblas-commits] r1189 - trunk/python/tests

liblas-commits at liblas.org liblas-commits at liblas.org
Mon Apr 6 14:27:11 EDT 2009


Author: hobu
Date: Mon Apr  6 14:27:11 2009
New Revision: 1189
URL: http://liblas.org/changeset/1189

Log:
buildbot timezone stuff is borken

Modified:
   trunk/python/tests/Point.txt

Modified: trunk/python/tests/Point.txt
==============================================================================
--- trunk/python/tests/Point.txt	(original)
+++ trunk/python/tests/Point.txt	Mon Apr  6 14:27:11 2009
@@ -68,7 +68,7 @@
   >>> td = datetime.timedelta(hours=get_td()) 
   >>> p.time = datetime.datetime(2008,3,19,23,45,45,13434) 
   >>> delta = p.time - datetime.datetime(2008,3,19,23,45,45,13434) 
-  >>> int(math.floor(delta.seconds/3600.0)) == get_td()
+  >>> int(math.floor(delta.seconds/3600.0)) == get_td() or int(math.floor(delta.seconds/3600.0)) == get_td() + 1
   True
   >>> p.time.microsecond
   13434


More information about the Liblas-commits mailing list