travis-ci
22 of 22 new or added lines in 1 file covered. (100.0%)
915 of 1606 relevant lines covered (56.97%)
1.14 hits per line
1 |
# flake8: noqa
|
|
2 |
|
|
3 |
import sys |
2✔ |
4 |
|
|
5 |
PY2 = sys.version_info[0] == 2 |
2✔ |
6 |
PY3 = (sys.version_info[0] >= 3) |
2✔ |
7 |
|
|
8 |
if PY2:
|
2✔ |
9 |
import Queue as queue |
× |
10 |
else: # PY3 |
|
11 |
import queue |
2✔ |
12 |
|
|
13 |
try:
|
2✔ |
14 |
import cPickle as pickle |
2✔ |
15 |
except ImportError: |
2✔ |
16 |
import pickle |
2✔ |