Commit b940771c authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Added sklearn import in tests.__init__.py to avoid static TLS ImportError.


Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent 734a14a1
......@@ -27,6 +27,7 @@
"""Unit test package for testproject."""
import os
import sklearn # noqa # avoids a static TLS ImportError during runtime of SICOR (when importing sklearn there)
# set database host during tests
db_host = 'localhost' if 'GMS_db_host' not in os.environ else os.environ['GMS_db_host']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment