qcodes/tests/common.py
def reset_config_on_exit():
    """
    Context manager to clean any modefication of the in memory config on exit

    """

    default_config_obj: Optional[DotDict] = copy.deepcopy(
        qcodes.config.current_config
    )

    try:
        yield
    finally:
        qcodes.config.current_config = default_config_obj

    Context manager to clean any modefication of the in memory config on exit

    
Context manager to clean any modefication of the in memory config on exit
Context manager to clean any modefication of the in memory config on exit
def reset_config_on_exit():
    default_config_obj: Optional[DotDict] = copy.deepcopy(
        qcodes.config.current_config
    )
    try:
        yield
    finally:
        qcodes.config.current_config = default_config_obj
def reset_config_on_exit ( ) : default_config_obj : Optional [ DotDict ] = copy . deepcopy ( qcodes . config . current_config ) try : yield finally : qcodes . config . current_config = default_config_obj
Context manager to clean any modefication of the in memory config on exit
Context manager to clean any modefication of the in memory config on exit
"""
    Context manager to clean any modefication of the in memory config on exit

    """