Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
beat
beat.core
Commits
3699a277
Commit
3699a277
authored
Apr 20, 2018
by
Samuel GAIST
Browse files
[test][worker] Fix Queue import
In Python 3 this module is names queue
parent
b9e56b99
Changes
1
Hide whitespace changes
Inline
Side-by-side
beat/core/test/test_worker.py
View file @
3699a277
...
...
@@ -36,7 +36,10 @@ logger = logging.getLogger(__name__)
import
unittest
import
simplejson
import
multiprocessing
import
Queue
try
:
import
Queue
except
ImportError
:
import
queue
as
Queue
from
time
import
time
from
time
import
sleep
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment