Skip to content

Commit

Permalink
FIX: Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Jul 11, 2018
1 parent db6a0c3 commit b092d5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mne/io/ctf/tests/test_ctf.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ def test_read_ctf():
assert_array_equal(raw.ch_names, raw_c.ch_names)
assert_allclose(raw.times, raw_c.times)
assert_allclose(raw._cals, raw_c._cals)
for key in ('version', 'usecs'):
assert_equal(raw.info['meas_id'][key], raw_c.info['meas_id'][key])
assert_equal(raw.info['meas_id']['usecs'],
raw_c.info['meas_id']['usecs'])
py_time = raw.info['meas_id']['secs']
c_time = raw_c.info['meas_id']['secs']
max_offset = 24 * 60 * 60 # probably overkill but covers timezone
Expand Down
2 changes: 1 addition & 1 deletion mne/io/tests/test_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def test_constants(tmpdir):
elif name.startswith('FIFFB_'):
# We put these in the tag section rather than the IOD/block section
# -> XXX fix this by moving them to the IOD files in fiff-constants
if name in 'FIFFB_MNE_ANNOTATIONS':
if name in ('FIFFB_MNE_ANNOTATIONS', 'FIFFB_MNE_METADATA'):
assert val in tags
continue
assert val in iod, (val, name)
Expand Down

0 comments on commit b092d5e

Please sign in to comment.