Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions tarantool/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@
IPROTO_FEATURE_TRANSACTIONS,
IPROTO_FEATURE_ERROR_EXTENSION,
IPROTO_FEATURE_WATCHERS,
IPROTO_FEATURE_GRACEFUL_SHUTDOWN,
IPROTO_CHUNK,
)
from tarantool.error import (
Expand Down Expand Up @@ -514,7 +513,6 @@ def __init__(self, host, port,
IPROTO_FEATURE_TRANSACTIONS: False,
IPROTO_FEATURE_ERROR_EXTENSION: False,
IPROTO_FEATURE_WATCHERS: False,
IPROTO_FEATURE_GRACEFUL_SHUTDOWN: False,
}

if connect_now:
Expand Down
1 change: 0 additions & 1 deletion tarantool/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@
IPROTO_FEATURE_TRANSACTIONS = 1
IPROTO_FEATURE_ERROR_EXTENSION = 2
IPROTO_FEATURE_WATCHERS = 3
IPROTO_FEATURE_GRACEFUL_SHUTDOWN = 4

# Default value for connection timeout (seconds)
CONNECTION_TIMEOUT = None
Expand Down
2 changes: 0 additions & 2 deletions test/suites/test_protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
IPROTO_FEATURE_TRANSACTIONS,
IPROTO_FEATURE_ERROR_EXTENSION,
IPROTO_FEATURE_WATCHERS,
IPROTO_FEATURE_GRACEFUL_SHUTDOWN,
)

class TestSuite_Protocol(unittest.TestCase):
Expand Down Expand Up @@ -86,7 +85,6 @@ def test_04_protocol(self):
self.assertEqual(self.con._features[IPROTO_FEATURE_STREAMS], False)
self.assertEqual(self.con._features[IPROTO_FEATURE_TRANSACTIONS], False)
self.assertEqual(self.con._features[IPROTO_FEATURE_WATCHERS], False)
self.assertEqual(self.con._features[IPROTO_FEATURE_GRACEFUL_SHUTDOWN], False)

@classmethod
def tearDownClass(self):
Expand Down