@testing.requires_testing_data
def test_maxshield():
 with warnings.catch_warnings(record=True) as w:
  warnings.simplefilter('always')
  read_raw_fif(ms_fname, allow_maxshield=True)
 assert_equal(len(w), 1)
 assert_true(('test_raw_fiff.py' in w[0].filename))

@ testing . requires_testing_data def test_maxshield ( ) : with warnings . catch_warnings ( record = True ) as w : warnings . simplefilter ( 'always' ) read_raw_fif ( ms_fname , allow_maxshield = True ) assert_equal ( len ( w ) , 1 ) assert_true ( ( 'test_raw_fiff.py' in w [ 0 ] . filename ) )
test maxshield warning .