Traceback (most recent call last):

 "/usr/local/Cellar/python3/3.5.2_1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/mock.py", line 1157, in patched
return func(*args, **keywargs)

 "/Users/guillaumepiot/Documents/Projects/packages/two_factor/django-two-factor-auth/tests/test_views_login.py", line 170, in test_with_backup_token
self.assertContains(response, 'Please enter your OTP token')

 "/Users/guillaumepiot/Documents/Projects/packages/two_factor/venv/lib/python3.5/site-packages/django/test/testcases.py", line 382, in assertContains
self.assertTrue(real_count != 0, msg_prefix + "Couldn't find %s in response" % text_repr)AssertionError: False is not true : Couldn't find 'Please enter your OTP token' in response
Traceback (most recent call last):


 "./train.py", line 517, in <module>

launch_train_with_config(traincfg, trainer)


 "/home/user/miniconda3/envs/rip-tensorpack/lib/python3.6/site-packages/tensorpack/train/interface.py", line 94, in launch_train_with_config

extra_callbacks=config.extra_callbacks)


 "/home/user/miniconda3/envs/rip-tensorpack/lib/python3.6/site-packages/tensorpack/train/base.py", line 343, in train_with_defaults

steps_per_epoch, starting_epoch, max_epoch)


 "/home/user/miniconda3/envs/rip-tensorpack/lib/python3.6/site-packages/tensorpack/train/base.py", line 315, in train

self.main_loop(steps_per_epoch, starting_epoch, max_epoch)


 "/home/user/miniconda3/envs/rip-tensorpack/lib/python3.6/site-packages/tensorpack/utils/argtools.py", line 176, in wrapper

return func(*args, **kwargs)


 "/home/user/miniconda3/envs/rip-tensorpack/lib/python3.6/site-packages/tensorpack/train/base.py", line 280, in main_loop

self.run_step()
# implemented by subclass


 "/home/user/miniconda3/envs/rip-tensorpack/lib/python3.6/site-packages/tensorpack/train/base.py", line 180, in run_step

self.hooked_sess.run(self.train_op)


 "/home/user/miniconda3/envs/rip-tensorpack/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py", line 671, in run

run_metadata=run_metadata)


 "/home/user/miniconda3/envs/rip-tensorpack/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py", line 1156, in run

run_metadata=run_metadata)


 "/home/user/miniconda3/envs/rip-tensorpack/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py", line 1255, in run

raise six.reraise(*original_exc_info)


 "/home/user/miniconda3/envs/rip-tensorpack/lib/python3.6/site-packages/six.py", line 693, in reraise

raise value


 "/home/user/miniconda3/envs/rip-tensorpack/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py", line 1240, in run

return self._sess.run(*args, **kwargs)


 "/home/user/miniconda3/envs/rip-tensorpack/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py", line 1312, in run

run_metadata=run_metadata)


 "/home/user/miniconda3/envs/rip-tensorpack/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py", line 1076, in run

return self._sess.run(*args, **kwargs)


 "/home/user/miniconda3/envs/rip-tensorpack/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 929, in run

run_metadata_ptr)


 "/home/user/miniconda3/envs/rip-tensorpack/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1152, in _run

feed_dict_tensor, options, run_metadata)


 "/home/user/miniconda3/envs/rip-tensorpack/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1328, in _do_run

run_metadata)


 "/home/user/miniconda3/envs/rip-tensorpack/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1348, in _do_call

raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.DeadlineExceededError: Timed out waiting for notification
