Change import gymnasium to import gymnasium as gym (#20)

This commit is contained in:
Mark Towers
2022-09-16 23:41:27 +01:00
committed by GitHub
parent 54872abbeb
commit 8589523a77
110 changed files with 657 additions and 633 deletions

View File

@@ -3,12 +3,12 @@ import re
import numpy as np
import pytest
import gymnasium.spaces
import gymnasium as gym
def test_sample():
"""Tests the sequence sampling works as expects and the errors are correctly raised."""
space = gymnasium.spaces.Sequence(gymnasium.spaces.Box(0, 1))
space = gym.spaces.Sequence(gym.spaces.Box(0, 1))
# Test integer mask length
for length in range(4):