@pytest.mark.skipif(not opt.has_numpy, reason="requires numpy")
def test_conf_scope_handles_numpy_bools():
    cfg = ConfigDict({
        "a": opt.np.bool_(1)
    })
    assert 'a' in cfg()
    assert cfg()['a']
dataset/ETHPy150Open IDSIA/sacred/tests/test_config/test_config_dict.py/test_conf_scope_handles_numpy_bools/original