$ pytest =============================================================================== test session starts ================================================================================ platform linux -- Python 3.6.9, pytest-5.4.3, py-1.8.1, pluggy-0.13.1 rootdir: /home/yeldar/DQN-DDPG_Stock_Trading collected 125 items / 26 errors / 4 skipped / 95 selected ====================================================================================== ERRORS ====================================================================================== _________________________________________________________ ERROR collecting gym/envs/algorithmic/tests/test_algorithmic.py __________________________________________________________ import file mismatch: imported module 'gym.envs.algorithmic.tests.test_algorithmic' has this __file__ attribute: /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/gym/envs/algorithmic/tests/test_algorithmic.py which is not the same as the test file we want to collect: /home/yeldar/DQN-DDPG_Stock_Trading/gym/envs/algorithmic/tests/test_algorithmic.py HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules _______________________________________________________________ ERROR collecting gym/envs/box2d/test_lunar_lander.py _______________________________________________________________ import file mismatch: imported module 'gym.envs.box2d.test_lunar_lander' has this __file__ attribute: /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/gym/envs/box2d/test_lunar_lander.py which is not the same as the test file we want to collect: /home/yeldar/DQN-DDPG_Stock_Trading/gym/envs/box2d/test_lunar_lander.py HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules _______________________________________________________________ ERROR collecting gym/envs/tests/test_determinism.py ________________________________________________________________ import file mismatch: imported module 'gym.envs.tests.test_determinism' has this __file__ attribute: /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/gym/envs/tests/test_determinism.py which is not the same as the test file we want to collect: /home/yeldar/DQN-DDPG_Stock_Trading/gym/envs/tests/test_determinism.py HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules ___________________________________________________________________ ERROR collecting gym/envs/tests/test_envs.py ___________________________________________________________________ import file mismatch: imported module 'gym.envs.tests.test_envs' has this __file__ attribute: /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/gym/envs/tests/test_envs.py which is not the same as the test file we want to collect: /home/yeldar/DQN-DDPG_Stock_Trading/gym/envs/tests/test_envs.py HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules ______________________________________________________________ ERROR collecting gym/envs/tests/test_envs_semantics.py ______________________________________________________________ import file mismatch: imported module 'gym.envs.tests.test_envs_semantics' has this __file__ attribute: /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/gym/envs/tests/test_envs_semantics.py which is not the same as the test file we want to collect: /home/yeldar/DQN-DDPG_Stock_Trading/gym/envs/tests/test_envs_semantics.py HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules ______________________________________________________________ ERROR collecting gym/envs/tests/test_frozenlake_dfs.py ______________________________________________________________ import file mismatch: imported module 'gym.envs.tests.test_frozenlake_dfs' has this __file__ attribute: /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/gym/envs/tests/test_frozenlake_dfs.py which is not the same as the test file we want to collect: /home/yeldar/DQN-DDPG_Stock_Trading/gym/envs/tests/test_frozenlake_dfs.py HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules ______________________________________________________________ ERROR collecting gym/envs/tests/test_kellycoinflip.py _______________________________________________________________ import file mismatch: imported module 'gym.envs.tests.test_kellycoinflip' has this __file__ attribute: /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/gym/envs/tests/test_kellycoinflip.py which is not the same as the test file we want to collect: /home/yeldar/DQN-DDPG_Stock_Trading/gym/envs/tests/test_kellycoinflip.py HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules ________________________________________________________ ERROR collecting gym/envs/tests/test_mujoco_v2_to_v3_conversion.py ________________________________________________________ import file mismatch: imported module 'gym.envs.tests.test_mujoco_v2_to_v3_conversion' has this __file__ attribute: /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/gym/envs/tests/test_mujoco_v2_to_v3_conversion.py which is not the same as the test file we want to collect: /home/yeldar/DQN-DDPG_Stock_Trading/gym/envs/tests/test_mujoco_v2_to_v3_conversion.py HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules _______________________________________________________________ ERROR collecting gym/envs/tests/test_registration.py _______________________________________________________________ import file mismatch: imported module 'gym.envs.tests.test_registration' has this __file__ attribute: /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/gym/envs/tests/test_registration.py which is not the same as the test file we want to collect: /home/yeldar/DQN-DDPG_Stock_Trading/gym/envs/tests/test_registration.py HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules _________________________________________________________________ ERROR collecting gym/spaces/tests/test_spaces.py _________________________________________________________________ import file mismatch: imported module 'gym.spaces.tests.test_spaces' has this __file__ attribute: /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/gym/spaces/tests/test_spaces.py which is not the same as the test file we want to collect: /home/yeldar/DQN-DDPG_Stock_Trading/gym/spaces/tests/test_spaces.py HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules ____________________________________________________________ ERROR collecting gym/vector/tests/test_async_vector_env.py ____________________________________________________________ import file mismatch: imported module 'gym.vector.tests.test_async_vector_env' has this __file__ attribute: /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/gym/vector/tests/test_async_vector_env.py which is not the same as the test file we want to collect: /home/yeldar/DQN-DDPG_Stock_Trading/gym/vector/tests/test_async_vector_env.py HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules ______________________________________________________________ ERROR collecting gym/vector/tests/test_numpy_utils.py _______________________________________________________________ import file mismatch: imported module 'gym.vector.tests.test_numpy_utils' has this __file__ attribute: /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/gym/vector/tests/test_numpy_utils.py which is not the same as the test file we want to collect: /home/yeldar/DQN-DDPG_Stock_Trading/gym/vector/tests/test_numpy_utils.py HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules _____________________________________________________________ ERROR collecting gym/vector/tests/test_shared_memory.py ______________________________________________________________ import file mismatch: imported module 'gym.vector.tests.test_shared_memory' has this __file__ attribute: /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/gym/vector/tests/test_shared_memory.py which is not the same as the test file we want to collect: /home/yeldar/DQN-DDPG_Stock_Trading/gym/vector/tests/test_shared_memory.py HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules _________________________________________________________________ ERROR collecting gym/vector/tests/test_spaces.py _________________________________________________________________ import file mismatch: imported module 'gym.vector.tests.test_spaces' has this __file__ attribute: /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/gym/vector/tests/test_spaces.py which is not the same as the test file we want to collect: /home/yeldar/DQN-DDPG_Stock_Trading/gym/vector/tests/test_spaces.py HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules ____________________________________________________________ ERROR collecting gym/vector/tests/test_sync_vector_env.py _____________________________________________________________ import file mismatch: imported module 'gym.vector.tests.test_sync_vector_env' has this __file__ attribute: /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/gym/vector/tests/test_sync_vector_env.py which is not the same as the test file we want to collect: /home/yeldar/DQN-DDPG_Stock_Trading/gym/vector/tests/test_sync_vector_env.py HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules _______________________________________________________________ ERROR collecting gym/vector/tests/test_vector_env.py _______________________________________________________________ import file mismatch: imported module 'gym.vector.tests.test_vector_env' has this __file__ attribute: /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/gym/vector/tests/test_vector_env.py which is not the same as the test file we want to collect: /home/yeldar/DQN-DDPG_Stock_Trading/gym/vector/tests/test_vector_env.py HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules ________________________________________________________________ ERROR collecting gym/wrappers/test_clip_action.py _________________________________________________________________ import file mismatch: imported module 'gym.wrappers.test_clip_action' has this __file__ attribute: /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/gym/wrappers/test_clip_action.py which is not the same as the test file we want to collect: /home/yeldar/DQN-DDPG_Stock_Trading/gym/wrappers/test_clip_action.py HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules _____________________________________________________________ ERROR collecting gym/wrappers/test_filter_observation.py _____________________________________________________________ import file mismatch: imported module 'gym.wrappers.test_filter_observation' has this __file__ attribute: /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/gym/wrappers/test_filter_observation.py which is not the same as the test file we want to collect: /home/yeldar/DQN-DDPG_Stock_Trading/gym/wrappers/test_filter_observation.py HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules ____________________________________________________________ ERROR collecting gym/wrappers/test_flatten_observation.py _____________________________________________________________ import file mismatch: imported module 'gym.wrappers.test_flatten_observation' has this __file__ attribute: /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/gym/wrappers/test_flatten_observation.py which is not the same as the test file we want to collect: /home/yeldar/DQN-DDPG_Stock_Trading/gym/wrappers/test_flatten_observation.py HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules _____________________________________________________________ ERROR collecting gym/wrappers/test_pixel_observation.py ______________________________________________________________ import file mismatch: imported module 'gym.wrappers.test_pixel_observation' has this __file__ attribute: /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/gym/wrappers/test_pixel_observation.py which is not the same as the test file we want to collect: /home/yeldar/DQN-DDPG_Stock_Trading/gym/wrappers/test_pixel_observation.py HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules _________________________________________________________ ERROR collecting gym/wrappers/test_record_episode_statistics.py __________________________________________________________ import file mismatch: imported module 'gym.wrappers.test_record_episode_statistics' has this __file__ attribute: /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/gym/wrappers/test_record_episode_statistics.py which is not the same as the test file we want to collect: /home/yeldar/DQN-DDPG_Stock_Trading/gym/wrappers/test_record_episode_statistics.py HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules _______________________________________________________________ ERROR collecting gym/wrappers/test_rescale_action.py _______________________________________________________________ import file mismatch: imported module 'gym.wrappers.test_rescale_action' has this __file__ attribute: /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/gym/wrappers/test_rescale_action.py which is not the same as the test file we want to collect: /home/yeldar/DQN-DDPG_Stock_Trading/gym/wrappers/test_rescale_action.py HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules _____________________________________________________________ ERROR collecting gym/wrappers/test_resize_observation.py _____________________________________________________________ import file mismatch: imported module 'gym.wrappers.test_resize_observation' has this __file__ attribute: /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/gym/wrappers/test_resize_observation.py which is not the same as the test file we want to collect: /home/yeldar/DQN-DDPG_Stock_Trading/gym/wrappers/test_resize_observation.py HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules ___________________________________________________________ ERROR collecting gym/wrappers/test_transform_observation.py ____________________________________________________________ import file mismatch: imported module 'gym.wrappers.test_transform_observation' has this __file__ attribute: /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/gym/wrappers/test_transform_observation.py which is not the same as the test file we want to collect: /home/yeldar/DQN-DDPG_Stock_Trading/gym/wrappers/test_transform_observation.py HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules ______________________________________________________________ ERROR collecting gym/wrappers/test_transform_reward.py ______________________________________________________________ import file mismatch: imported module 'gym.wrappers.test_transform_reward' has this __file__ attribute: /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/gym/wrappers/test_transform_reward.py which is not the same as the test file we want to collect: /home/yeldar/DQN-DDPG_Stock_Trading/gym/wrappers/test_transform_reward.py HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules ______________________________________________________ ERROR collecting gym/wrappers/monitoring/tests/test_video_recorder.py _______________________________________________________ import file mismatch: imported module 'gym.wrappers.monitoring.tests.test_video_recorder' has this __file__ attribute: /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/gym/wrappers/monitoring/tests/test_video_recorder.py which is not the same as the test file we want to collect: /home/yeldar/DQN-DDPG_Stock_Trading/gym/wrappers/monitoring/tests/test_video_recorder.py HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules ================================================================================= warnings summary ================================================================================= .venv/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py:15 /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py:15: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp .venv/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:516 /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint8 = np.dtype([("qint8", np.int8, 1)]) .venv/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:517 /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_quint8 = np.dtype([("quint8", np.uint8, 1)]) .venv/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:518 /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint16 = np.dtype([("qint16", np.int16, 1)]) .venv/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:519 /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_quint16 = np.dtype([("quint16", np.uint16, 1)]) .venv/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:520 /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint32 = np.dtype([("qint32", np.int32, 1)]) .venv/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:525 /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. np_resource = np.dtype([("resource", np.ubyte, 1)]) .venv/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:541 /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:541: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint8 = np.dtype([("qint8", np.int8, 1)]) .venv/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:542 /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:542: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_quint8 = np.dtype([("quint8", np.uint8, 1)]) .venv/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:543 /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:543: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint16 = np.dtype([("qint16", np.int16, 1)]) .venv/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:544 /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:544: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_quint16 = np.dtype([("quint16", np.uint16, 1)]) .venv/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:545 /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:545: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint32 = np.dtype([("qint32", np.int32, 1)]) .venv/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:550 /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. np_resource = np.dtype([("resource", np.ubyte, 1)]) .venv/lib/python3.6/site-packages/gym/logger.py:30 /home/yeldar/DQN-DDPG_Stock_Trading/.venv/lib/python3.6/site-packages/gym/logger.py:30: UserWarning: WARN: Box bound precision lowered by casting to float32 warnings.warn(colorize('%s: %s'%('WARN', msg % args), 'yellow')) -- Docs: https://docs.pytest.org/en/latest/warnings.html ============================================================================= short test summary info ============================================================================== ERROR gym/envs/algorithmic/tests/test_algorithmic.py ERROR gym/envs/box2d/test_lunar_lander.py ERROR gym/envs/tests/test_determinism.py ERROR gym/envs/tests/test_envs.py ERROR gym/envs/tests/test_envs_semantics.py ERROR gym/envs/tests/test_frozenlake_dfs.py ERROR gym/envs/tests/test_kellycoinflip.py ERROR gym/envs/tests/test_mujoco_v2_to_v3_conversion.py ERROR gym/envs/tests/test_registration.py ERROR gym/spaces/tests/test_spaces.py ERROR gym/vector/tests/test_async_vector_env.py ERROR gym/vector/tests/test_numpy_utils.py ERROR gym/vector/tests/test_shared_memory.py ERROR gym/vector/tests/test_spaces.py ERROR gym/vector/tests/test_sync_vector_env.py ERROR gym/vector/tests/test_vector_env.py ERROR gym/wrappers/test_clip_action.py ERROR gym/wrappers/test_filter_observation.py ERROR gym/wrappers/test_flatten_observation.py ERROR gym/wrappers/test_pixel_observation.py ERROR gym/wrappers/test_record_episode_statistics.py ERROR gym/wrappers/test_rescale_action.py ERROR gym/wrappers/test_resize_observation.py ERROR gym/wrappers/test_transform_observation.py ERROR gym/wrappers/test_transform_reward.py ERROR gym/wrappers/monitoring/tests/test_video_recorder.py !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 26 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ==================================================================== 4 skipped, 14 warnings, 26 errors in 1.87s ====================================================================