#NEWLINE# @ pytest . mark . skipif ( "sys.platform in ('win32', 'darwin')" ) #NEWLINE# def test_remove_dir_prefix( self ) : #NEWLINE# #INDENT# 'this is not compatible with compgen but it is with bash itself:\n        ls /usr/<TAB>\n        ' #NEWLINE# from _pytest._argcomplete import FastFilesCompleter #NEWLINE# ffc = FastFilesCompleter ( ) #NEWLINE# fc = FilesCompleter ( ) #NEWLINE# for x in '/usr/' . split ( ) : #NEWLINE# #INDENT# assert ( not equal_with_bash ( x , fc , fc , out = py . std . sys . stdout ) )