From 2a0fdf407e720f806d17185c196e2175fbb58a09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Salvador?= Date: Wed, 16 Sep 2020 22:54:38 +0200 Subject: [PATCH] Disable explicitly CRITICAL logging level in test The default value has been only added in Python 3.7. issue9597 review326091002 --- trytond/tests/run-tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trytond/tests/run-tests.py b/trytond/tests/run-tests.py index ccd2dbfd3d..0388541eed 100755 --- a/trytond/tests/run-tests.py +++ b/trytond/tests/run-tests.py @@ -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")