You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by ly...@apache.org on 2022/06/09 20:34:41 UTC

[tinkerpop] 02/02: Fixing gremlin-python graphbinary test failure due to function rename

This is an automated email from the ASF dual-hosted git repository.

lyndonb pushed a commit to branch 3.6-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit 179754dd957ebf67fb917eb217c27a664d99d0c9
Author: Lyndon Bauto <ly...@bitquilltech.com>
AuthorDate: Thu Jun 9 13:34:14 2022 -0700

    Fixing gremlin-python graphbinary test failure due to function rename
---
 .../src/main/python/tests/structure/io/test_graphbinaryV1.py          | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gremlin-python/src/main/python/tests/structure/io/test_graphbinaryV1.py b/gremlin-python/src/main/python/tests/structure/io/test_graphbinaryV1.py
index 12b50db4b6..23f4a35711 100644
--- a/gremlin-python/src/main/python/tests/structure/io/test_graphbinaryV1.py
+++ b/gremlin-python/src/main/python/tests/structure/io/test_graphbinaryV1.py
@@ -53,7 +53,7 @@ class TestGraphSONWriter(object):
 
     def test_bigint(self):
         x = bigint(0x1000_0000_0000_0000_0000)
-        output = self.graphbinary_reader.readObject(self.graphbinary_writer.writeObject(x))
+        output = self.graphbinary_reader.read_object(self.graphbinary_writer.write_object(x))
         assert x == output
 
     def test_float(self):
@@ -80,7 +80,7 @@ class TestGraphSONWriter(object):
 
     def test_bigdecimal(self):
         x = BigDecimal(100, 234)
-        output = self.graphbinary_reader.readObject(self.graphbinary_writer.writeObject(x))
+        output = self.graphbinary_reader.read_object(self.graphbinary_writer.write_object(x))
         assert x.scale == output.scale
         assert x.unscaled_value == output.unscaled_value