summaryrefslogtreecommitdiff
path: root/kombu/tests/test_serialization.py
diff options
context:
space:
mode:
authorAsk Solem <ask@celeryproject.org>2011-09-07 15:21:47 +0100
committerAsk Solem <ask@celeryproject.org>2011-09-07 15:21:47 +0100
commit66ef95038ffb3351592623309119946418c639bf (patch)
treec8189a6f578d6ee9196e1968f6c15be460fbc0bd /kombu/tests/test_serialization.py
parent0b29991566b3d510d39ac61861576ec3e2ef1ae7 (diff)
downloadkombu-66ef95038ffb3351592623309119946418c639bf.tar.gz
2.0-devel: No longer supports Python 2.4
Diffstat (limited to 'kombu/tests/test_serialization.py')
-rw-r--r--kombu/tests/test_serialization.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/kombu/tests/test_serialization.py b/kombu/tests/test_serialization.py
index 5e416fe6..9f87c857 100644
--- a/kombu/tests/test_serialization.py
+++ b/kombu/tests/test_serialization.py
@@ -1,15 +1,16 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
+from __future__ import absolute_import
import sys
-from kombu.serialization import registry, register, SerializerNotInstalled, \
- raw_encode, register_yaml, register_msgpack, \
- decode, bytes_type, pickle, \
- unregister, register_pickle
+from ..serialization import (registry, register, SerializerNotInstalled,
+ raw_encode, register_yaml, register_msgpack,
+ decode, bytes_type, pickle,
+ unregister, register_pickle)
-from kombu.tests.utils import unittest
-from kombu.tests.utils import mask_modules, skip_if_not_module
+from .utils import unittest
+from .utils import mask_modules, skip_if_not_module
# For content_encoding tests
unicode_string = u'abcdé\u8463'