#NEWLINE# def pth_file_tests( self , pth_file ) : #NEWLINE# #INDENT# 'Contain common code for testing results of reading a .pth file' #NEWLINE# self . assertIn ( pth_file . imported , sys . modules , ( '%s not in sys.modules' % pth_file . imported ) ) #NEWLINE# self . assertIn ( site . makepath ( self . good_dir_path ) [ 0 ] , sys . path ) #NEWLINE# self . assertFalse ( os . path . exists ( pth_file . bad_dir_path ) )