|
11 | 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
12 | 12 | # See the License for the specific language governing permissions and |
13 | 13 | # limitations under the License. |
14 | | -import tempfile |
15 | | - |
16 | 14 | try: |
17 | 15 | import unittest2 as unittest |
18 | 16 | except ImportError: |
|
21 | 19 | from binascii import unhexlify |
22 | 20 | import calendar |
23 | 21 | import datetime |
| 22 | +import tempfile |
24 | 23 | import time |
| 24 | + |
25 | 25 | import cassandra |
26 | 26 | from cassandra.cqltypes import (BooleanType, lookup_casstype_simple, lookup_casstype, |
27 | 27 | LongType, DecimalType, SetType, cql_typename, |
28 | 28 | CassandraType, UTF8Type, parse_casstype_args, |
29 | 29 | SimpleDateType, TimeType, |
30 | 30 | EmptyValue, _CassandraType, DateType, int64_pack) |
31 | | -from cassandra.query import named_tuple_factory |
| 31 | +from cassandra.encoder import cql_quote |
32 | 32 | from cassandra.protocol import (write_string, read_longstring, write_stringmap, |
33 | 33 | read_stringmap, read_inet, write_inet, |
34 | 34 | read_string, write_longstring) |
35 | | -from cassandra.encoder import cql_quote |
| 35 | +from cassandra.query import named_tuple_factory |
36 | 36 |
|
37 | 37 |
|
38 | 38 | class TypeTests(unittest.TestCase): |
|
0 commit comments