hacking check for contextlib.nested for py34 support
Removed use of contextlib.nested call from codebase as contextlib.nested is not compatible with Python 3. Added hacking check to catch if any new instances are added to the codebase. Change-Id: Ib78102bc013e4cc91ba54d79aa2815f4cf9f446d
This commit is contained in:
parent
18250542b0
commit
deea63b547
|
@ -51,6 +51,7 @@ Nova Specific Commandments
|
|||
assertIn/NotIn(A, B)
|
||||
- [N339] Check common raise_feature_not_supported() is used for v2.1 HTTPNotImplemented response.
|
||||
- [N340] Check nova.utils.spawn() is used instead of greenthread.spawn() and eventlet.spawn()
|
||||
- [N341] contextlib.nested is deprecated
|
||||
|
||||
Creating Unit Tests
|
||||
-------------------
|
||||
|
|
Loading…
Reference in New Issue