[Libguestfs] [PATCH 6/7] python: Python 3 no longer recognizes long integers

Hilko Bengen
Fri, 10 Jan 2014 23:12:51 -0000

---
 python/t/120-rlenvalue.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/python/t/120-rlenvalue.py b/python/t/120-rlenvalue.py
index ebc48f5..a9b2129 100644
--- a/python/t/120-rlenvalue.py
+++ b/python/t/120-rlenvalue.py
@@ -38,5 +38,5 @@ moderate_value_node = h.node_get_child (root,
"ModerateValueParent")
 moderate_value_value = h.node_get_value (moderate_value_node,
"33Bytes")

 r = h.value_data_cell_offset (moderate_value_value)
-assert r[0] == 37L
-assert r[1] == 8712L
+assert r[0] == 37
+assert r[1] == 8712
--
1.8.5.2