summaryrefslogtreecommitdiff
path: root/test/test_functional.py
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2011-07-20 22:12:25 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2011-07-20 22:12:25 +0000
commit9651fcd4f7b341d4e3162a58c5bb31b7469fffac (patch)
tree282280ef2caae34e10a7ea5cba05a263224ac3b9 /test/test_functional.py
parent6f4ab9ba31bcbd5b1372c27d258cd595ca02357c (diff)
downloaddocutils-9651fcd4f7b341d4e3162a58c5bb31b7469fffac.tar.gz
Apply [ 3365041 ] to fix py3k unittest regressions.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@7097 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'test/test_functional.py')
-rwxr-xr-xtest/test_functional.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/test_functional.py b/test/test_functional.py
index ee13e6add..334befe4b 100755
--- a/test/test_functional.py
+++ b/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()