Move all tests to gym/tests/... (#2425)

* Moved all (?) tests to gym/tests

* flake8

* Move all the tests into gym/gym/tests, this might fix all the import errors... hopefully

* Move unittests back to envs

* Fix unittest again

* black

* Fix to one test due to new paths
This commit is contained in:
Ariel Kwiatkowski
2021-09-28 19:45:52 +02:00
committed by GitHub
parent 52b7e5e325
commit 3331efe03c
56 changed files with 19 additions and 20 deletions

View File

@@ -1,11 +1,11 @@
from gym import envs, spaces, logger
from gym import envs, logger
import json
import os
import sys
import argparse
from gym.envs.tests.spec_list import should_skip_env_spec_for_tests
from gym.envs.tests.test_envs_semantics import generate_rollout_hash, hash_object
from gym.tests.envs.spec_list import should_skip_env_spec_for_tests
from gym.tests import generate_rollout_hash
DATA_DIR = os.path.join(os.path.dirname(__file__), os.pardir, "gym", "envs", "tests")
ROLLOUT_STEPS = 100