@@ -22,18 +22,14 @@ def install_and_test_lxml():
2222 subprocess .check_call ([PYTHON_EXE , "setup.py" , "install" ], cwd = CYTHON_DIR )
2323 subprocess .check_call ([PYTHON_EXE , "-c" , "import Cython" ], cwd = CYTHON_DIR )
2424
25- url = "https://pypi.python.org/packages/source/l/lxml/lxml-3.0.1 .tar.gz"
25+ url = "https://pypi.python.org/packages/source/l/lxml/lxml-3.6.0 .tar.gz"
2626 subprocess .check_call (["wget" , url ], cwd = SRC_DIR )
27- subprocess .check_call (["tar" , "-zxf" , "lxml-3.0.1.tar.gz" ], cwd = SRC_DIR )
28- LXML_DIR = os .path .abspath (os .path .join (SRC_DIR , "lxml-3.0.1" ))
29-
30- PATCH_FILE = os .path .abspath (os .path .join (os .path .dirname (__file__ ), "lxml_patch.patch" ))
31- subprocess .check_call (["patch" , "-p1" , "--input=" + PATCH_FILE ], cwd = LXML_DIR )
32- print "Applied lxml patch"
27+ subprocess .check_call (["tar" , "-zxf" , "lxml-3.6.0.tar.gz" ], cwd = SRC_DIR )
28+ LXML_DIR = os .path .abspath (os .path .join (SRC_DIR , "lxml-3.6.0" ))
3329
3430 subprocess .check_call ([PYTHON_EXE , "setup.py" , "build_ext" , "-i" , "--with-cython" ], cwd = LXML_DIR )
3531
36- expected = [{'ran' : 1381 , 'failures' : 1 }]
32+ expected = [{'ran' : 1724 , 'failures' : 1 , 'errors ' : 1 }]
3733 run_test ([PYTHON_EXE , "test.py" ], cwd = LXML_DIR , expected = expected )
3834
3935create_virtenv (ENV_NAME , None , force_create = True )
0 commit comments