def test_brainvision_data_software_filters_latin1_global_units():
 with warnings.catch_warnings(record=True) as w:
  raw = _test_raw_reader(read_raw_brainvision, vhdr_fname=vhdr_old_path, eog=('VEOGo', 'VEOGu', 'HEOGli', 'HEOGre'), misc=('A2',))
 assert_true(all((('software filter detected' in str(ww.message)) for ww in w)))
 assert_equal(raw.info['highpass'], (1.0 / 0.9))
 assert_equal(raw.info['lowpass'], 50.0)

def test_brainvision_data_software_filters_latin1_global_units ( ) : with warnings . catch_warnings ( record = True ) as w : raw = _test_raw_reader ( read_raw_brainvision , vhdr_fname = vhdr_old_path , eog = ( 'VEOGo' , 'VEOGu' , 'HEOGli' , 'HEOGre' ) , misc = ( 'A2' , ) ) assert_true ( all ( ( ( 'software filter detected' in str ( ww . message ) ) for ww in w ) ) ) assert_equal ( raw . info [ 'highpass' ] , ( 1.0 / 0.9 ) ) assert_equal ( raw . info [ 'lowpass' ] , 50.0 )
test reading raw brain vision files .