import os


def is_py_test():
    if "PYTEST_CURRENT_TEST" in os.environ:
        return True
    return False

1cff4b5f8ec83d375fed894425ff7eeee185f24b
<mask token>

<mask token>


def is_py_test():
    if 'PYTEST_CURRENT_TEST' in os.environ:
        return True
    return False

import os


def is_py_test():
    if 'PYTEST_CURRENT_TEST' in os.environ:
        return True
    return False

import os


def is_py_test():
    if "PYTEST_CURRENT_TEST" in os.environ:
        return True
    return False
