def test_warning_on_non_existant_path_FileLinks():
 fls = display.FileLinks('example')
 nt.assert_true(fls._repr_html_().startswith('Path (<tt>example</tt>)'))

def test_warning_on_non_existant_path_FileLinks ( ) : fls = display . FileLinks ( 'example' ) nt . assert_true ( fls . _repr_html_ ( ) . startswith ( 'Path (<tt>example</tt>)' ) )
filelinks: calling _repr_html_ on non-existant files returns a warning .