<s> import os . path as op <EOL> import warnings <EOL> from nose . tools import assert_equal , assert_true <EOL> import mne <EOL> from mne . utils import run_tests_if_main <EOL> from mne . datasets import testing <EOL> from mne . io . tests . test_raw import _test_raw_reader <EOL> from mne . io . cnt import read_raw_cnt <EOL> warnings . simplefilter ( '<STR_LIT>' ) <EOL> data_path = testing . data_path ( download = False ) <EOL> fname = op . join ( data_path , '<STR_LIT>' , '<STR_LIT>' ) <EOL> @ testing . requires_testing_data <EOL> def test_data ( ) : <EOL> """<STR_LIT>""" <EOL> with warnings . catch_warnings ( record = True ) as w : <EOL> raw = _test_raw_reader ( read_raw_cnt , montage = None , input_fname = fname , <EOL> eog = '<STR_LIT>' , misc = [ '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> assert_true ( all ( '<STR_LIT>' in str ( ww . message ) for ww in w ) ) <EOL> eog_chs = mne . pick_types ( raw . info , eog = True , exclude = [ ] ) <EOL> assert_equal ( len ( eog_chs ) , <NUM_LIT:2> ) <EOL> assert_equal ( raw . info [ '<STR_LIT>' ] , [ '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> run_tests_if_main ( ) </s>
