#NEWLINE# def get_test_data_folder( version = '1.2' , which = '' ) : #NEWLINE# #INDENT# '\n    ' #NEWLINE# import pyswagger.tests.data #NEWLINE# version = ( 'v' + version . replace ( '.' , '_' ) ) #NEWLINE# folder = os . path . dirname ( os . path . abspath ( pyswagger . tests . data . __file__ ) ) #NEWLINE# folder = os . path . join ( os . path . join ( folder , version ) , which ) #NEWLINE# return folder