Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
sappelhoff committed Nov 9, 2020
1 parent bb84904 commit a6536fe
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mne/io/brainvision/tests/test_brainvision.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def test_ch_names_comma(tmpdir):
# commas in BV are encoded as \1
replace_dict = {
r"^Ch4=F4,": r"Ch4=F4\\1foo,",
r"^4\s\s\s\s\sF4": r"4 F4,foo ",
r"^4\s\s\s\s\sF4": "4 F4,foo ",
}

# Copy existing vhdr file to tmpdir and manipulate to contain
Expand Down Expand Up @@ -627,8 +627,7 @@ def test_read_vhdr_annotations_and_events(tmpdir):

# Commas are encoded as "\1"
with open(tmpdir / 'test.vmrk', 'a') as fout:
fout.write(r"Mk15=Comma\1Type,CommaValue\11,7800,1,0")
fout.write("\n")
fout.write(r"Mk15=Comma\1Type,CommaValue\11,7800,1,0\n")

sfreq = 1000.0
expected_orig_time = _stamp_to_dt((1384359243, 794232))
Expand Down

0 comments on commit a6536fe

Please sign in to comment.