Commit Graph

11 Commits

Author SHA1 Message Date
pzhokhov
67212547ac remove six and __future__ imports (#1840)
* remove six

* remove __future__ imports

* remove six from setup.py, python 2.7 from README.rst
2020-04-10 17:10:34 -05:00
Misha Behersky
0659520f8c Return output from render method in a right way (#1248)
* Close output StringIO after returning value

* Test render output is immutable
2019-02-08 16:58:51 -08:00
4d55397500
eaea9988b1 remove unused imports (#901) 2018-02-27 10:17:33 -08:00
John Schulman
4c460ba6c8 Cleanup, removal of unmaintained code (#836)
* add dtype to Box

* remove board_game, debugging, safety, parameter_tuning environments

* massive set of breaking changes
- remove python logging module
- _step, _reset, _seed, _close => non underscored method
- remove benchmark and scoring folder

* Improve render("human"), now resizable, closable window.

* get rid of default step and reset in wrappers, so it doesn’t silently fail for people with underscore methods

* CubeCrash unit test environment

* followup fixes

* MemorizeDigits unit test envrionment

* refactored spaces a bit
fixed indentation
disabled test_env_semantics

* fix unit tests

* fixes

* CubeCrash, MemorizeDigits tested

* gym backwards compatibility patch

* gym backwards compatibility, followup fixes

* changelist, add spaces to main namespaces

* undo_logger_setup for backwards compat

* remove configuration.py
2018-01-25 18:20:14 -08:00
John Schulman
6f4f5653de switch to pytest (#495)
* switch to pytest

* remove observation space sampling

* fix test
2017-02-11 22:17:02 -08:00
Jie Tang
dc07c7d414 Skip tests properly in test_env_semantics 2016-12-22 17:49:34 -08:00
Trevor Blackwell
31855a97bc Better error messages for env semantic changes 2016-12-01 13:31:10 -08:00
Trevor Blackwell
8fad22d51a Better error messages for env semantic changes 2016-12-01 13:21:59 -08:00
Jie Tang
bc2c12a36e Sort env specs when running tests (this allows for repeating a specific test
using an index)
2016-10-31 23:55:56 -07:00
Colin
6d51f72630 Some tweaks to json rollout generation (#386)
* Some tweaks to json rollout generation:

- sort keys (to make diffs easier to read)
- don't open and close json file so much
- command line flag to allow overwriting hashes

* Use a single rollout file, rather than one for each python version.
2016-10-21 19:00:36 -07:00
Arushi Raghuvanshi
9460023398 Added test for environment semantics (#196) 2016-06-17 13:23:49 -07:00