remove 'mode' from render() for all dummy envs (test suite)

This commit is contained in:
Dominik Moritz Roth 2023-11-21 20:19:47 +01:00
parent 01d2bf44ba
commit cee8d59107
3 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ class ToyEnv(gym.Env):
obs, reward, terminated, truncated, info = np.array([-1]), 1, False, False, {}
return obs, reward, terminated, truncated, info
def render(self, mode="human"):
def render(self):
pass

View File

@ -33,7 +33,7 @@ class ToyEnv(gym.Env):
obs, reward, terminated, truncated, info = np.array([-1]), 1, False, False, {}
return obs, reward, terminated, truncated, info
def render(self, mode="human"):
def render(self):
pass

View File

@ -37,7 +37,7 @@ class ToyEnv(gym.Env):
obs, reward, terminated, truncated, info = np.array([-1]), 1, False, False, {}
return obs, reward, terminated, truncated, info
def render(self, mode="human"):
def render(self):
pass