Loading tests/test_config.py +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ _MPI_MOCK_PATH = _TEST_DIR / 'mpi_mock' def test_griffin_config_fail(): # expect failure because no configuration is provided with pytest.raises(RuntimeError) as e_info: with pytest.raises(ValueError) as e_info: # torpedo the configuration file and env var options PyGriffinConfig._RC_FILE = '' if os.environ.get('GRIFFIN_EXEC'): Loading Loading
tests/test_config.py +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ _MPI_MOCK_PATH = _TEST_DIR / 'mpi_mock' def test_griffin_config_fail(): # expect failure because no configuration is provided with pytest.raises(RuntimeError) as e_info: with pytest.raises(ValueError) as e_info: # torpedo the configuration file and env var options PyGriffinConfig._RC_FILE = '' if os.environ.get('GRIFFIN_EXEC'): Loading