diff python/utils.py @ 2:de5642925615

started implementation of TimeInterval and Spatio-temporal object
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Mon, 19 Oct 2009 13:16:21 -0400
parents aed8eb63cdde
children ffddccfab7f9
line wrap: on
line diff
--- a/python/utils.py	Sun Oct 18 22:32:46 2009 -0400
+++ b/python/utils.py	Mon Oct 19 13:16:21 2009 -0400
@@ -59,5 +59,8 @@
 
 if __name__ == "__main__":
     import doctest
-    doctest.testmod()
+    import unittest
+    suite = doctest.DocFileSuite('tests/ubc_utils.txt')
+    unittest.TextTestRunner().run(suite)
+    #doctest.testmod()
     #doctest.testfile("example.txt")