#NEWLINE# def test_pep_409_verbiage( self ) : #NEWLINE# #INDENT# script = textwrap . dedent ( '            try:\n                raise ValueError\n            except:\n                raise NameError from None\n            ' ) #NEWLINE# with temp_dir ( ) as script_dir : #NEWLINE# #INDENT# script_name = _make_test_script ( script , 'script' , script ) #NEWLINE# ( exitcode , stdout , stderr ) = assert_python_failure ( script_name ) #NEWLINE# text = stderr . decode ( 'ascii' ) . split ( '\n' ) #NEWLINE# self . assertEqual ( len ( text ) , 4 ) #NEWLINE# self . assertTrue ( text [ 0 ] . startswith ( 'Traceback' ) ) #NEWLINE# self . assertTrue ( text [ 1 ] . startswith ( '  File ' ) ) #NEWLINE# self . assertTrue ( text [ 3 ] . startswith ( 'NameError' ) )