Disable explicitly CRITICAL logging level in test
The default value has been only added in Python 3.7. issue9597 review326091002
This commit is contained in:
@@ -13,7 +13,7 @@ from trytond.config import config
|
||||
if __name__ != '__main__':
|
||||
raise ImportError('%s can not be imported' % __name__)
|
||||
|
||||
logging.disable()
|
||||
logging.disable(logging.CRITICAL)
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument("-c", "--config", dest="config",
|
||||
help="specify config file")
|
||||
|
||||
Reference in New Issue
Block a user