changeset 4f442059d0ab in trytond:default
details: https://hg.tryton.org/trytond?cmd=changeset;node=4f442059d0ab
description:
Disable explicitly CRITICAL logging level in test
The default value has been only added in Python 3.7.
issue9597
review326091002
diffstat:
trytond/tests/run-tests.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 8a5a0a781dc6 -r 4f442059d0ab trytond/tests/run-tests.py
--- a/trytond/tests/run-tests.py Sat Sep 12 18:33:30 2020 +0200
+++ b/trytond/tests/run-tests.py Wed Sep 16 22:54:38 2020 +0200
@@ -13,7 +13,7 @@
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")