def _determinism_source_date_epoch(format, string, keyword='CreationDate'):
 buff = check_output([sys.executable, u'-R', u'-c', (u'import matplotlib; matplotlib._called_from_pytest = True; matplotlib.use(%r); from matplotlib.testing.determinism import _determinism_save;_determinism_save(%r,%r)' % (format, u'', format))])
 find_keyword = re.compile((('.*' + keyword) + '.*'))
 key = find_keyword.search(buff)
 if key:
  print(key.group())
 else:
  print((u'Timestamp keyword (%s) not found!' % keyword))
 assert (string in buff)

def _determinism_source_date_epoch ( format , string , keyword = 'CreationDate' ) : buff = check_output ( [ sys . executable , u'-R' , u'-c' , ( u'import matplotlib; matplotlib._called_from_pytest = True; matplotlib.use(%r); from matplotlib.testing.determinism import _determinism_save;_determinism_save(%r,%r)' % ( format , u'' , format ) ) ] ) find_keyword = re . compile ( ( ( '.*' + keyword ) + '.*' ) ) key = find_keyword . search ( buff ) if key : print ( key . group ( ) ) else : print ( ( u'Timestamp keyword (%s) not found!' % keyword ) ) assert ( string in buff )
test source_date_epoch support .