Loads of unit test failures in Python 3.5

Bug #1535256 reported by Thomas Goirand
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-magnumclient
New
Undecided
Unassigned

Bug Description

Hi,

Here's a failure that we have only in Python 3.5 (it works in Python 3.4).

======================================================================
FAIL: magnumclient.tests.test_utils.CliUtilsTest.test_keys_and_vals_to_strs
magnumclient.tests.test_utils.CliUtilsTest.test_keys_and_vals_to_strs
----------------------------------------------------------------------
_StringException: Empty attachments:
  pythonlogging:''

Traceback (most recent call last):
  File "/home/zigo/sources/openstack/mitaka/python-magnumclient/build-area/python-magnumclient-1.1.0/magnumclient/tests/test_utils.py", line 197, in test_keys_and_vals_to_strs
    self.assertEqual(six.text_type(dict_exp), six.text_type(dict_act))
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 350, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 435, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: !=:
reference = "OrderedDict([('b', OrderedDict([('z', '3'), ('y', '2'), ('x', 1)])), ('c', 7), ('a', '1')])"
actual = "OrderedDict([('b', OrderedDict([('y', '2'), ('z', '3'), ('x', 1)])), ('c', 7), ('a', '1')])"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.