[Python-checkins] r51824 - python/branches/hoxworth-stdlib_logging-soc/test_mhlib.py

jackilyn.hoxworth python-checkins at python.org
Fri Sep 8 05:48:01 CEST 2006


Author: jackilyn.hoxworth
Date: Fri Sep  8 05:48:00 2006
New Revision: 51824

Modified:
   python/branches/hoxworth-stdlib_logging-soc/test_mhlib.py
Log:
fixed

Modified: python/branches/hoxworth-stdlib_logging-soc/test_mhlib.py
==============================================================================
--- python/branches/hoxworth-stdlib_logging-soc/test_mhlib.py	(original)
+++ python/branches/hoxworth-stdlib_logging-soc/test_mhlib.py	Fri Sep  8 05:48:00 2006
@@ -138,11 +138,7 @@
 		# The default setup permits warnings
         mhlib._log.warn("Testing log of " + self.str)
 
-        # works, but could be coded better. it prints this for each test.
-        if self.str == "mhlib":
-			print "logging worked"
-        else:
-			print "logging didn't work"
+        self.assert_(self.str == "mhlib")
 
         # A deeply nested folder
         def deep(folder, n):


More information about the Python-checkins mailing list