Skip to content

Commit 54e92a0

Browse files
committed
Version 1.7.0
1 parent 14ca39d commit 54e92a0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

textworld/envs/wrappers/tests/test_tw_inform7.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def setUpClass(cls):
3131
cls.tmpdir = tempfile.mkdtemp()
3232
cls.options = textworld.GameOptions()
3333
cls.options.path = pjoin(cls.tmpdir, "tw-game.z8")
34-
cls.gamefile_z8 = textworld.generator.compile_game(cls.game, cls.options)
34+
cls.game, cls.gamefile_z8 = testing.build_and_compile_game(cls.options)
3535
cls.request_infos = EnvInfos(
3636
inventory=True,
3737
description=True,
@@ -185,7 +185,7 @@ def setUpClass(cls):
185185
cls.tmpdir = tempfile.mkdtemp()
186186
cls.options = textworld.GameOptions()
187187
cls.options.path = pjoin(cls.tmpdir, "tw-game.z8")
188-
cls.gamefile_z8 = textworld.generator.compile_game(cls.game, cls.options)
188+
cls.game, cls.gamefile_z8 = testing.build_and_compile_game(cls.options)
189189
cls.request_infos = EnvInfos(
190190
inventory=True,
191191
description=True,
@@ -270,7 +270,7 @@ def setUpClass(cls):
270270
cls.tmpdir = tempfile.mkdtemp()
271271
cls.options = textworld.GameOptions()
272272
cls.options.path = pjoin(cls.tmpdir, "tw-game.z8")
273-
cls.gamefile_z8 = textworld.generator.compile_game(cls.game, cls.options)
273+
cls.game, cls.gamefile_z8 = testing.build_and_compile_game(cls.options)
274274
cls.request_infos = EnvInfos(
275275
max_score=True,
276276
objective=True,
@@ -356,7 +356,7 @@ def setUpClass(cls):
356356
cls.tmpdir = tempfile.mkdtemp()
357357
cls.options = textworld.GameOptions()
358358
cls.options.path = pjoin(cls.tmpdir, "tw-game.z8")
359-
cls.gamefile_z8 = textworld.generator.compile_game(cls.game, cls.options)
359+
cls.game, cls.gamefile_z8 = testing.build_and_compile_game(cls.options)
360360
cls.request_infos = EnvInfos(
361361
facts=True,
362362
policy_commands=True,

textworld/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.6.2'
1+
__version__ = '1.7.0rc1'

0 commit comments

Comments
 (0)