python-docutils/docutils-encoding.patch
Toshio Kuratomi 5d8b05315f Upgrade to 0.8 final.
Remove the two remaining Apache licensed files until their license is fixed.
Patch regressions that we had already submitted upstream -- resubmit
2011-07-12 12:33:04 -07:00

13 lines
578 B
Diff

Index: docutils-0.8/test/test_functional.py
===================================================================
--- docutils-0.8.orig/test/test_functional.py
+++ docutils-0.8/test/test_functional.py
@@ -175,7 +175,6 @@ expected output and check it in:
f = open(expected_path, 'r')
else: # samples are UTF8 encoded. 'rb' leads to errors with Python 3!
f = open(expected_path, 'r', encoding='utf-8')
- f = open(expected_path, 'r')
# Normalize line endings:
expected = '\n'.join(f.read().splitlines())
f.close()