From d4a8306b9d13df859045f4ff2b2dccd54461f114 Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Thu, 18 May 2023 19:07:19 +0200 Subject: [PATCH] Buf Fix: PyTests still used binding to old gym --- test/test_black_box.py | 6 +++--- test/test_replanning_sequencing.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/test_black_box.py b/test/test_black_box.py index 7d33a30..ef397f1 100644 --- a/test/test_black_box.py +++ b/test/test_black_box.py @@ -1,11 +1,11 @@ from itertools import chain from typing import Tuple, Type, Union, Optional, Callable -import gym +import gymnasium as gym import numpy as np import pytest -from gym import register -from gym.core import ActType, ObsType +from gymnasium import register +from gymnasium.core import ActType, ObsType import fancy_gym from fancy_gym.black_box.raw_interface_wrapper import RawInterfaceWrapper diff --git a/test/test_replanning_sequencing.py b/test/test_replanning_sequencing.py index b76d6a9..1fd5a84 100644 --- a/test/test_replanning_sequencing.py +++ b/test/test_replanning_sequencing.py @@ -2,11 +2,11 @@ from itertools import chain from types import FunctionType from typing import Tuple, Type, Union, Optional -import gym +import gymnasium as gym import numpy as np import pytest -from gym import register -from gym.core import ActType, ObsType +from gymnasium import register +from gymnasium.core import ActType, ObsType import fancy_gym from fancy_gym.black_box.raw_interface_wrapper import RawInterfaceWrapper