def test_utils():
 tmp_dir = _TempDir()
 tmp_fname = op.join(tmp_dir, 'test_gen_mne_locs.csv')
 _generate_mne_locs_file(tmp_fname)
 installed_locs = _load_mne_locs()
 generated_locs = _load_mne_locs(tmp_fname)
 assert_equal(set(installed_locs.keys()), set(generated_locs.keys()))
 for key in installed_locs.keys():
  assert_allclose(installed_locs[key], generated_locs[key], atol=1e-07)

def test_utils ( ) : tmp_dir = _TempDir ( ) tmp_fname = op . join ( tmp_dir , 'test_gen_mne_locs.csv' ) _generate_mne_locs_file ( tmp_fname ) installed_locs = _load_mne_locs ( ) generated_locs = _load_mne_locs ( tmp_fname ) assert_equal ( set ( installed_locs . keys ( ) ) , set ( generated_locs . keys ( ) ) ) for key in installed_locs . keys ( ) : assert_allclose ( installed_locs [ key ] , generated_locs [ key ] , atol = 1e-07 )
test artemis123 utils .