Browse Source

testing: quiet future warings and decrease log level to warnings

Sebastian Heimann 8 months ago
parent
commit
93d8cedd7c
2 changed files with 4 additions and 0 deletions
  1. 1 0
      setup.cfg
  2. 3 0
      test/__init__.py

+ 1 - 0
setup.cfg

@@ -13,6 +13,7 @@ verbosity=2
 detailed-errors=1
 cover-erase=1
 cover-package=grond
+logging-level=WARNING
 
 [coverage:report]
 exclude_lines =

+ 3 - 0
test/__init__.py

@@ -3,3 +3,6 @@ matplotlib.use('Agg')
 from pyrocko import util
 util.force_dummy_progressbar = True
 util.setup_logging('grondtest', 'info')
+
+import warnings
+warnings.simplefilter(action='ignore', category=FutureWarning)