diff options
Diffstat (limited to 'dev-python/python-bibtex/files/python-bibtex-1.2.4-fix_tests.patch')
| -rw-r--r-- | dev-python/python-bibtex/files/python-bibtex-1.2.4-fix_tests.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/dev-python/python-bibtex/files/python-bibtex-1.2.4-fix_tests.patch b/dev-python/python-bibtex/files/python-bibtex-1.2.4-fix_tests.patch deleted file mode 100644 index f9816817b7777..0000000000000 --- a/dev-python/python-bibtex/files/python-bibtex-1.2.4-fix_tests.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- testsuite.py -+++ testsuite.py -@@ -4,6 +4,7 @@ - - import sys, os - -+ParserError = "ParserError" - - def check_recode (): - try: -@@ -65,7 +66,7 @@ - - valid = result.readline ().strip () - -- if obtained != valid: -+ if eval(obtained) != eval(valid): - sys.stderr.write ('error: %s: line %d: unexpected result:\n' % ( - filename, line)) - sys.stderr.write ('error: %s: line %d: obtained %s\n' % ( -@@ -117,7 +118,7 @@ - - valid = result.readline ().strip () - -- if obtained != valid: -+ if eval(obtained) != eval(valid): - sys.stderr.write ('error: %s: line %d: unexpected result:\n' % ( - filename, line)) - sys.stderr.write ('error: %s: line %d: obtained %s\n' % ( |
