@pytest.fixture()
def _temp_analyze_files_prime(tmpdir):
 orig_img = tmpdir.join(u'orig_prime.img')
 orig_hdr = tmpdir.join(u'orig_prime.hdr')
 orig_img.open(u'w+').close()
 orig_hdr.open(u'w+').close()
 return (str(orig_img), str(orig_hdr))

@ pytest . fixture ( ) def _temp_analyze_files_prime ( tmpdir ) : orig_img = tmpdir . join ( u'orig_prime.img' ) orig_hdr = tmpdir . join ( u'orig_prime.hdr' ) orig_img . open ( u'w+' ) . close ( ) orig_hdr . open ( u'w+' ) . close ( ) return ( str ( orig_img ) , str ( orig_hdr ) )
generate temporary analyze file pair .