Skip to content

Commit cf4ed18

Browse files
Try to fix 3.6 tests
1 parent bccbf6c commit cf4ed18

File tree

5 files changed

+4
-11
lines changed

5 files changed

+4
-11
lines changed

tarantool/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
ENCODING_DEFAULT,
3333
)
3434

35-
from tarantool.msgpack_ext.types import (
35+
from tarantool.msgpack_ext.types.datetime import (
3636
Datetime,
3737
)
3838

tarantool/msgpack_ext/__init__.py

-4
This file was deleted.

tarantool/msgpack_ext/datetime.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from tarantool.msgpack_ext.types import Datetime
1+
from tarantool.msgpack_ext.types.datetime import Datetime
22

33
EXT_ID = 4
44

tarantool/msgpack_ext/packer.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from msgpack import ExtType
44
import pandas
55

6-
import tarantool.msgpack_ext.types as types
6+
from tarantool.msgpack_ext.types.datetime import Datetime
77

88
import tarantool.msgpack_ext.decimal as ext_decimal
99
import tarantool.msgpack_ext.uuid as ext_uuid
@@ -12,7 +12,7 @@
1212
encoders = [
1313
{'type': Decimal, 'ext': ext_decimal },
1414
{'type': UUID, 'ext': ext_uuid },
15-
{'type': types.Datetime, 'ext': ext_datetime},
15+
{'type': Datetime, 'ext': ext_datetime},
1616
{'type': pandas.Timestamp, 'ext': ext_datetime},
1717
]
1818

tarantool/msgpack_ext/types/__init__.py

-3
This file was deleted.

0 commit comments

Comments
 (0)