Buf Fix: PyTests still used binding to old gym

This commit is contained in:
Dominik Moritz Roth 2023-05-18 19:07:19 +02:00
parent 1e62da0833
commit d4a8306b9d
2 changed files with 6 additions and 6 deletions

View File

@ -1,11 +1,11 @@
from itertools import chain from itertools import chain
from typing import Tuple, Type, Union, Optional, Callable from typing import Tuple, Type, Union, Optional, Callable
import gym import gymnasium as gym
import numpy as np import numpy as np
import pytest import pytest
from gym import register from gymnasium import register
from gym.core import ActType, ObsType from gymnasium.core import ActType, ObsType
import fancy_gym import fancy_gym
from fancy_gym.black_box.raw_interface_wrapper import RawInterfaceWrapper from fancy_gym.black_box.raw_interface_wrapper import RawInterfaceWrapper

View File

@ -2,11 +2,11 @@ from itertools import chain
from types import FunctionType from types import FunctionType
from typing import Tuple, Type, Union, Optional from typing import Tuple, Type, Union, Optional
import gym import gymnasium as gym
import numpy as np import numpy as np
import pytest import pytest
from gym import register from gymnasium import register
from gym.core import ActType, ObsType from gymnasium.core import ActType, ObsType
import fancy_gym import fancy_gym
from fancy_gym.black_box.raw_interface_wrapper import RawInterfaceWrapper from fancy_gym.black_box.raw_interface_wrapper import RawInterfaceWrapper