We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23cfbf3 commit 9b5a2b5Copy full SHA for 9b5a2b5
tests/helpers.py
@@ -1,6 +1,5 @@
1
import pickle
2
3
-from tests.quirks import KNOWN_GYM_CLOSE_BROKEN
4
from tests.quirks import KNOWN_GYM_RENDER_NOT_IMPLEMENTED
5
6
@@ -43,10 +42,3 @@ def step_env_with_gym_quirks(test_case,
43
42
# Roundtrip serialization
44
round_trip = pickle.loads(pickle.dumps(env))
45
assert round_trip.env.spec == env.env.spec
46
-
47
- if not spec.id in KNOWN_GYM_CLOSE_BROKEN:
48
- env.close()
49
- else:
50
- with test_case.assertRaisesRegex(
51
- AttributeError, "'MjViewer' object has no attribute 'finish'"):
52
0 commit comments