Skip to content

Commit 3d34da6

Browse files
committed
Remove a single \n from each field of test files.
Prior to this, we would remove two trailing \n characters from the final section of a test.
1 parent 3a08f4c commit 3d34da6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

html5lib/tests/support.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ def __iter__(self):
8383
heading = self.isSectionHeading(line)
8484
if heading:
8585
if data and heading == self.newTestHeading:
86-
# Remove trailing newline
87-
data[key] = data[key][:-1]
8886
yield self.normaliseOutput(data)
8987
data = DefaultDict(None)
9088
key = heading

0 commit comments

Comments
 (0)