#NEWLINE# @ pytest . fixture #NEWLINE# def hand_header( request ) : #NEWLINE# #INDENT# 'Parse hand history header only defined in hand_text\n    and returns a PokerStarsHandHistory instance.\n    ' #NEWLINE# hh = PokerStarsHandHistory ( hh . instance . hand_text ) #NEWLINE# hh . parse_header ( ) #NEWLINE# return hh