def test_warning_on_non_existant_path_FileLink():
 fl = display.FileLink('example.txt')
 nt.assert_true(fl._repr_html_().startswith('Path (<tt>example.txt</tt>)'))

def test_warning_on_non_existant_path_FileLink ( ) : fl = display . FileLink ( 'example.txt' ) nt . assert_true ( fl . _repr_html_ ( ) . startswith ( 'Path (<tt>example.txt</tt>)' ) )
filelink: calling _repr_html_ on non-existant files returns a warning .