Revision: 150
Author: clach04
Date: Wed Aug 21 04:08:45 2013 UTC
Log: avoid logging output in testsuite.
http://code.google.com/p/ctypesgen/source/detail?r=150
Modified:
/trunk/test/testsuite.py
=======================================
--- /trunk/test/testsuite.py Wed Aug 21 04:01:00 2013 UTC
+++ /trunk/test/testsuite.py Wed Aug 21 04:08:45 2013 UTC
@@ -28,7 +28,7 @@
import ctypes
import math
import unittest
-#import logging
+import logging
test_directory = os.path.abspath(os.path.dirname(__file__))
sys.path.append(test_directory)
@@ -316,7 +316,7 @@
if argv is None:
argv = sys.argv
- #ctypesgentest.ctypesgencore.messages.log.setLevel(logging.CRITICAL)
# do not log anything
+ ctypesgentest.ctypesgencore.messages.log.setLevel(logging.CRITICAL) #
do not log anything
unittest.main()
return 0