======================================================================
ERROR: testTask11 (tasks.micro.tests.test_nano.TestRepetitionTasks)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/samurai/Documents/HKUST/CommAI-env/src/tasks/micro/tests/test_nano.py", line 103, in testTask11
correct=True)
File "/Users/samurai/Documents/HKUST/CommAI-env/src/tasks/micro/tests/test_nano.py", line 26, in trySolution
serializer=IdentitySerializer()) as m:
File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/contextlib.py", line 81, in __enter__
return next(self.gen)
File "/Users/samurai/Documents/HKUST/CommAI-env/src/tasks/competition/tests/helpers.py", line 156, in task_messenger
m = EnvironmentMessenger(env, serializer)
File "/Users/samurai/Documents/HKUST/CommAI-env/src/tasks/competition/tests/helpers.py", line 26, in __init__
self.init()
File "/Users/samurai/Documents/HKUST/CommAI-env/src/tasks/competition/tests/helpers.py", line 30, in init
first_bit, reward = self._env.next(None)
File "/Users/samurai/Documents/HKUST/CommAI-env/src/core/environment.py", line 92, in next
self._switch_new_task(train_mode=not(test_mode))
File "/Users/samurai/Documents/HKUST/CommAI-env/src/core/environment.py", line 257, in _switch_new_task
self._current_task = self._task_scheduler.get_next_task(train_mode=train_mode)
TypeError: get_next_task() got an unexpected keyword argument 'train_mode'
======================================================================
ERROR: testReverseXTask (tasks.micro.tests.test_small_comp.TestSmallCompTasks)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/samurai/Documents/HKUST/CommAI-env/src/tasks/micro/tests/test_small_comp.py", line 53, in testReverseXTask
self._test_solution(small_comp.ReverseXTask, get_correct_answer, True)
File "/Users/samurai/Documents/HKUST/CommAI-env/src/tasks/micro/tests/test_small_comp.py", line 20, in _test_solution
serializer=IdentitySerializer()) as m:
File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/contextlib.py", line 81, in __enter__
return next(self.gen)
File "/Users/samurai/Documents/HKUST/CommAI-env/src/tasks/competition/tests/helpers.py", line 156, in task_messenger
m = EnvironmentMessenger(env, serializer)
File "/Users/samurai/Documents/HKUST/CommAI-env/src/tasks/competition/tests/helpers.py", line 26, in __init__
self.init()
File "/Users/samurai/Documents/HKUST/CommAI-env/src/tasks/competition/tests/helpers.py", line 30, in init
first_bit, reward = self._env.next(None)
File "/Users/samurai/Documents/HKUST/CommAI-env/src/core/environment.py", line 92, in next
self._switch_new_task(train_mode=not(test_mode))
File "/Users/samurai/Documents/HKUST/CommAI-env/src/core/environment.py", line 257, in _switch_new_task
self._current_task = self._task_scheduler.get_next_task(train_mode=train_mode)
TypeError: get_next_task() got an unexpected keyword argument 'train_mode'
----------------------------------------------------------------------
Ran 52 tests in 0.022s
FAILED (errors=37)
the error is a bit longer, but I think you can guess what's going on.
I have tried with both python 2.7 and python 3.6, and with both Mac OS and Ubuntu OS.