Changeset 945 in tailor for vcpx/tests/__init__.py


Ignore:
Timestamp:
10/20/05 02:41:27 (8 years ago)
Author:
lele@…
Hash name:
20051020004127-97f81-d42b2fb3140d9670f860fda4d26637d780a20a4a
Message:

Disable the logging while testing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vcpx/tests/__init__.py

    r882 r945  
    66# 
    77 
    8 import sys 
     8import sys, logging 
    99from unittest import TestProgram, TestSuite 
    1010 
     
    4343 
    4444    def __init__(self): 
     45        logging.disable(logging.CRITICAL) 
    4546        del sys.argv[1] 
    4647        TestProgram.__init__(self, module='vcpx.tests', argv=sys.argv) 
Note: See TracChangeset for help on using the changeset viewer.