`contextlib.nested` is deprecated since Python 2.7 and incompatible with
Python 3. This patch removes all its occurences by using the helper
script at [1].
This is a necessary step to allow us running all unit tests with
Python 3 (not just a small subset as it is done now).
Reviewed: https:/ /review. openstack. org/186709 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=422588e1333 8dab4a5ba1973c9 6256690ba4adf5
Committed: https:/
Submitter: Jenkins
Branch: master
commit 422588e13338dab 4a5ba1973c96256 690ba4adf5
Author: Adrien Vergé <email address hidden>
Date: Fri May 29 22:54:33 2015 +0200
Get completely rid of contextlib.nested
`contextlib .nested` is deprecated since Python 2.7 and incompatible with
Python 3. This patch removes all its occurences by using the helper
script at [1].
This is a necessary step to allow us running all unit tests with
Python 3 (not just a small subset as it is done now).
[1]: https:/ /github. com/adrienverge /context_ unnester
Change-Id: I8d1de09ff38ed0 af9fb56f423a2c4 3476408e0fb
Blueprint: neutron-python3
Closes-Bug: #1428424