[ctypesgen] r150 committed - avoid logging output in testsuite.

1 view
Skip to first unread message

codesite...@google.com

unread,
Aug 21, 2013, 12:09:05 AM8/21/13
to ctyp...@googlegroups.com
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
Reply all
Reply to author
Forward
0 new messages