Skip to content

Instantly share code, notes, and snippets.

@jrabbit
Created October 13, 2016 01:20
Show Gist options
  • Save jrabbit/5161dfcdc4aeb373029a7cfb6d28fa0d to your computer and use it in GitHub Desktop.
Save jrabbit/5161dfcdc4aeb373029a7cfb6d28fa0d to your computer and use it in GitHub Desktop.
Error in test_discord.TestOnMessage.test_no_reply
File "/usr/lib/python3.5/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/lib/python3.5/unittest/case.py", line 601, in run
testMethod()
File "/usr/lib/python3.5/unittest/mock.py", line 1159, in patched
return func(*args, **keywargs)
File "/home/jack/Projects/pyborg-1up/pyborg/test_discord.py", line 53, in test_no_reply
self.loop.run_until_complete(our_pybd.on_message(msg))
File "/usr/lib/python3.5/asyncio/base_events.py", line 437, in run_until_complete
future = tasks.ensure_future(future, loop=self)
File "/usr/lib/python3.5/asyncio/tasks.py", line 548, in ensure_future
raise ValueError('loop argument must agree with Future')
ValueError: loop argument must agree with Future
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment