seems this related about arch i386 how to represent integer, need find a
way to handle integer and long on Python 3.

I have no i386 machine to test, Can you try the fix as following:

diff --git a/oslo_concurrency/tests/unit/test_processutils.py 
b/oslo_concurrency/tests/unit/test_processutils.py
index 9227ea1..448511f 100644
--- a/oslo_concurrency/tests/unit/test_processutils.py
+++ b/oslo_concurrency/tests/unit/test_processutils.py
@@ -794,7 +794,7 @@ class PrlimitTestCase(test_base.BaseTestCase):
                          'print(resource.getrlimit(resource.%s))' % resource))
         args = [sys.executable, '-c', code]
         stdout, stderr = processutils.execute(*args, prlimit=prlimit)
-        expected = (value, value)
+        expected = (int(value), int(value))
         self.assertEqual(str(expected), stdout.rstrip())

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1552690

Title:
  i386 test failures test_address_space and test_resident_set_size

To manage notifications about this bug go to:
https://bugs.launchpad.net/oslo.concurrency/+bug/1552690/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to