def _suppress_warnings():
    import warnings
    import sys
    import os
    if os.path.basename(sys.argv[0]) != "trial":
        warnings.simplefilter("ignore")
Suppress warnings when not running under trial.
dataset/ETHPy150Open ClusterHQ/flocker/flocker/__init__.py/_suppress_warnings