Remove the two remaining Apache licensed files until their license is fixed. Patch regressions that we had already submitted upstream -- resubmit
23 lines
825 B
Diff
23 lines
825 B
Diff
Index: docutils-0.8/test/test_error_reporting.py
|
|
===================================================================
|
|
--- docutils-0.8.orig/test/test_error_reporting.py
|
|
+++ docutils-0.8/test/test_error_reporting.py
|
|
@@ -236,7 +236,7 @@ class SafeStringTests_locale(unittest.Te
|
|
except UnicodeEncodeError:
|
|
try:
|
|
open(u'\xfc'.encode(sys.getfilesystemencoding(), 'replace'))
|
|
- except IOError:
|
|
+ except IOError, e:
|
|
uioe = e
|
|
try:
|
|
os.chdir(b('\xfc'))
|
|
@@ -249,7 +249,7 @@ class SafeStringTests_locale(unittest.Te
|
|
except UnicodeEncodeError:
|
|
try:
|
|
os.chdir(u'\xfc'.encode(sys.getfilesystemencoding(), 'replace'))
|
|
- except OSError:
|
|
+ except OSError, e:
|
|
uose = e
|
|
# wrapped test data:
|
|
wbioe = SafeString(bioe)
|