changeset 8a292d374daf in trytond:default
details: https://hg.tryton.org/trytond?cmd=changeset;node=8a292d374daf
description:
        Disable logging when running tests

        issue9545
        review294331002
diffstat:

 trytond/tests/run-tests.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 5691cffa9fdc -r 8a292d374daf trytond/tests/run-tests.py
--- a/trytond/tests/run-tests.py        Sat Sep 12 18:25:14 2020 +0200
+++ b/trytond/tests/run-tests.py        Sat Sep 12 18:26:41 2020 +0200
@@ -13,7 +13,7 @@
 if __name__ != '__main__':
     raise ImportError('%s can not be imported' % __name__)
 
-logging.basicConfig(level=logging.ERROR)
+logging.disable()
 parser = argparse.ArgumentParser()
 parser.add_argument("-c", "--config", dest="config",
     help="specify config file")

Reply via email to