Commit 3699a277 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[test][worker] Fix Queue import

In Python 3 this module is names queue
parent b9e56b99
...@@ -36,7 +36,10 @@ logger = logging.getLogger(__name__) ...@@ -36,7 +36,10 @@ logger = logging.getLogger(__name__)
import unittest import unittest
import simplejson import simplejson
import multiprocessing import multiprocessing
import Queue try:
import Queue
except ImportError:
import queue as Queue
from time import time from time import time
from time import sleep from time import sleep
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment