Py3.7 two tests failing with _impl.MismatchError
Bug #1784487 reported by
Corey Bryant
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.vmware |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The following tests are failing for Py3.7: https:/
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/587223 /git.openstack. org/cgit/ openstack/ oslo.vmware/ commit/ ?id=18a208d5d14 da2edc2da01b088 cca362178daab2
Committed: https:/
Submitter: Zuul
Branch: master
commit 18a208d5d14da2e dc2da01b088cca3 62178daab2
Author: Corey Bryant <email address hidden>
Date: Mon Jul 30 16:45:45 2018 -0400
py37: deal with Exception repr changes
Under Python 3.7, a trailing comma is no longer added to
the init parameters generated by a repr() call:
>>> repr(Exception('It Works'))
"Exception( 'It Works')"
vs
>>> repr(Exception('It Works'))
"Exception( 'It Works',)"
Support pre and post Python 3.7 formats in test cases.
Change-Id: Idff8c841fd6c48 9e887bd72b49e91 ef6f0e2d4f3
Closes-Bug: #1784487