components/python/pylxml/patches/test.py.patch
changeset 7809 85e8894d1fc6
equal deleted inserted replaced
7808:81d1e03a6070 7809:85e8894d1fc6
       
     1 Ignores syntax error in $(SOURCE_DIR)/src/lxml/lxml.etree.pyx.
       
     2 
       
     3 We need to see if this patch is still needed with the very latest version
       
     4 of pylxml, and if so, send it upstream.
       
     5 
       
     6 --- lxml-3.6.4/test.py_orig	2017-01-11 14:03:08.523061540 +0000
       
     7 +++ lxml-3.6.4/test.py	2017-01-11 14:03:27.417867156 +0000
       
     8 @@ -606,14 +606,6 @@
       
     9              walker = os.path.walk
       
    10          walker(os.path.abspath(cfg.basedir), add_file, None)
       
    11  
       
    12 -        try:
       
    13 -            cov.xml_report(modules, outfile='coverage.xml')
       
    14 -            if cfg.coverdir:
       
    15 -                cov.html_report(modules, directory=cfg.coverdir)
       
    16 -        finally:
       
    17 -            # test runs can take a while, so at least try to print something
       
    18 -            cov.report()
       
    19 -
       
    20      # That's all
       
    21      if success:
       
    22          return 0