[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/testing/test.py Converted some XXX to TODO.

Stephan Richter srichter at cosmos.phy.tufts.edu
Mon Feb 28 12:46:05 EST 2005


Log message for revision 29345:
  Converted some XXX to TODO.
  

Changed:
  U   Zope3/trunk/src/zope/app/testing/test.py

-=-
Modified: Zope3/trunk/src/zope/app/testing/test.py
===================================================================
--- Zope3/trunk/src/zope/app/testing/test.py	2005-02-28 17:42:13 UTC (rev 29344)
+++ Zope3/trunk/src/zope/app/testing/test.py	2005-02-28 17:46:05 UTC (rev 29345)
@@ -313,8 +313,8 @@
             print "The following test left garbage:"
             print test
             print gc.garbage
-            # XXX Perhaps eat the garbage here, so that the garbage isn't
-            #     printed for every subsequent test.
+            # TODO: Perhaps eat the garbage here, so that the garbage isn't
+            #       printed for every subsequent test.
 
         # Did the test leave any new threads behind?
         new_threads = [t for t in threading.enumerate()
@@ -359,7 +359,7 @@
             if self.showAll:
                 self.stream.write(": ")
             elif self._progressWithNames:
-                # XXX will break with multibyte strings
+                # TODO: will break with multibyte strings
                 name = self.getShortDescription(test)
                 width = len(name)
                 if width < self._lastWidth:
@@ -893,8 +893,9 @@
     import logging.config
 
     # Get the log.ini file from the current directory instead of possibly
-    # buried in the build directory.  XXX This isn't perfect because if
-    # log.ini specifies a log file, it'll be relative to the build directory.
+    # buried in the build directory.
+    # TODO: This isn't perfect because if log.ini specifies a log file, it'll be
+    # relative to the build directory.
     # Hmm...
     logini = os.path.abspath("log.ini")
 
@@ -1180,7 +1181,7 @@
 ##                        'zope.app.testing.functional')
 ##                 continue
 
-        # XXX We want to change *visible* warnings into errors.  The next
+        # TODO: We want to change *visible* warnings into errors.  The next
         # line changes all warnings into errors, including warnings we
         # normally never see.  In particular, test_datetime does some
         # short-integer arithmetic that overflows to long ints, and, by



More information about the Zope3-Checkins mailing list