From 32246daee44a5255f95647854f706dc7cfdbc2bb Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Mon, 28 Sep 2015 21:46:51 -0400 Subject: 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 --- HACKING.rst | 1 + 1 file changed, 1 insertion(+) (limited to 'HACKING.rst') diff --git a/HACKING.rst b/HACKING.rst index 61785b2e25..5b769c1933 100644 --- a/HACKING.rst +++ b/HACKING.rst @@ -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 ------------------- -- cgit v1.2.1