@flake8ext
def check_no_contextlib_nested(logical_line, filename):
 msg = 'N324: contextlib.nested is deprecated. With Python 2.7 and later the with-statement supports multiple nested objects. See https://docs.python.org/2/library/contextlib.html#contextlib.nested for more information.'
 if checks.contextlib_nested.match(logical_line):
  (yield (0, msg))

@ flake8ext def check_no_contextlib_nested ( logical_line , filename ) : msg = 'N324: contextlib.nested is deprecated. With Python 2.7 and later the with-statement supports multiple nested objects. See https://docs.python.org/2/library/contextlib.html#contextlib.nested for more information.' if checks . contextlib_nested . match ( logical_line ) : ( yield ( 0 , msg ) )
n324 - dont use contextlib .