Comment 1 for bug 1782786

Revision history for this message
Corey Bryant (corey.bryant) wrote : Re: py3.7 test failures - expected string or bytes-like object and _impl.MismatchError

Here's one more error I'm seeing for py3.7:

======================================================================
FAIL: nova.tests.unit.test_hacking.HackingTestCase.test_check_doubled_words
nova.tests.unit.test_hacking.HackingTestCase.test_check_doubled_words
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/nova/tests/unit/test_hacking.py", line 586, in test_check_doubled_words
    expected_errors=errors)
  File "/<<PKGBUILDDIR>>/nova/tests/unit/test_hacking.py", line 293, in _assert_has_errors
    self.assertEqual(expected_errors or [], actual_errors)
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 411, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 498, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: [(1, 0, 'N343')] != []