You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by xi...@apache.org on 2023/12/14 17:34:06 UTC
(tinkerpop) branch master updated: CTR fix python test failure
This is an automated email from the ASF dual-hosted git repository.
xiazcy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
The following commit(s) were added to refs/heads/master by this push:
new 6405e102ae CTR fix python test failure
6405e102ae is described below
commit 6405e102ae77c9d9d85ce2aa62e2071281fb7702
Author: Yang Xia <55...@users.noreply.github.com>
AuthorDate: Thu Dec 14 09:33:58 2023 -0800
CTR fix python test failure
---
gremlin-python/src/main/python/tests/driver/test_client.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gremlin-python/src/main/python/tests/driver/test_client.py b/gremlin-python/src/main/python/tests/driver/test_client.py
index f7356afd49..fa3e0b7722 100644
--- a/gremlin-python/src/main/python/tests/driver/test_client.py
+++ b/gremlin-python/src/main/python/tests/driver/test_client.py
@@ -299,7 +299,7 @@ def test_multi_thread_pool(client):
assert results[3][0][0].object == 6
def test_client_bytecode_with_short(client):
- g = Graph().traversal()
+ g = GraphTraversalSource(Graph(), TraversalStrategies())
t = g.V().has('age', short(16)).count()
message = RequestMessage('traversal', 'bytecode', {'gremlin': t.bytecode, 'aliases': {'g': 'gmodern'}})
result_set = client.submit(message)