test_reflection.CallbackEqualityTest.test_different_instance_callbacks fails on Python 3.8
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.utils |
Fix Released
|
Undecided
|
Ghanshyam Mann | ||
python-oslo.utils (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
python3-defaults (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When running the unit test on Python 3.8, it fails with the following traceback:
oslo_utils.
-------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
b'Traceback (most recent call last):'
b' File "/tmp/oslo.
b' self.assertTrue
b' File "/tmp/oslo.
b' raise self.failureExc
b'Assertion
b''
This is apparently caused by a behavior change in Python 3.8 due to [1]. I have confirmed the different behavior by running tests manually on 3.6, 3.7 (both return True) and 3.8.
According to [2], only taskflow seems to be using that method now, and it is not changing the default value for the "strict" parameter.
[1] - https:/
[2] - http://
tags: | added: patch |
Changed in python3-defaults (Ubuntu): | |
status: | New → Invalid |
Forget my comment about [2], I didn't realize strict was True by default.