We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0988186 commit 8c5e0b2Copy full SHA for 8c5e0b2
tests/helpers.py
@@ -42,3 +42,6 @@ def step_env_with_gym_quirks(test_case,
42
# Roundtrip serialization
43
round_trip = pickle.loads(pickle.dumps(env))
44
assert round_trip.env.spec == env.env.spec
45
+
46
+ if not spec.id in KNOWN_GYM_CLOSE_BROKEN:
47
+ env.close()
0 commit comments