Loading ale/__init__.py +0 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,6 @@ else: try: spice_root = os.environ['ALESPICEROOT'] except: warnings.warn('ALESPICEROOT environment variable not set, Spice Drivers will not function correctly') spice_root = None # bring ale stuff into main ale module Loading tests/pytests/test_env.py +2 −3 Original line number Diff line number Diff line Loading @@ -6,7 +6,6 @@ import ale def test_env_not_set(monkeypatch): monkeypatch.delenv('ALESPICEROOT', raising=False) with pytest.warns(UserWarning, match='ALESPICEROOT environment variable not set'): reload(ale) assert not ale.spice_root Loading Loading
ale/__init__.py +0 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,6 @@ else: try: spice_root = os.environ['ALESPICEROOT'] except: warnings.warn('ALESPICEROOT environment variable not set, Spice Drivers will not function correctly') spice_root = None # bring ale stuff into main ale module Loading
tests/pytests/test_env.py +2 −3 Original line number Diff line number Diff line Loading @@ -6,7 +6,6 @@ import ale def test_env_not_set(monkeypatch): monkeypatch.delenv('ALESPICEROOT', raising=False) with pytest.warns(UserWarning, match='ALESPICEROOT environment variable not set'): reload(ale) assert not ale.spice_root Loading