Skip to content

Commit

Permalink
Merge pull request #1035 from undingen/disable_lxml_objectify_tests
Browse files Browse the repository at this point in the history
Disable lxml objectify tests
  • Loading branch information
kmod committed Jan 25, 2016
2 parents a32e3a4 + fcefe94 commit 02bd71a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/extra/lxml_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ def install_and_test_lxml():
print "Applied lxml patch"

subprocess.check_call([PYTHON_EXE, "setup.py", "build_ext", "-i", "--with-cython"], cwd=LXML_DIR)

expected = [{'ran': 1381, 'failures': 28, 'errors': 5}]
run_test([PYTHON_EXE, "test.py"], cwd=LXML_DIR, expected=expected)

# We currently don't run the objectify tests because the assume that the python impl use refcounting.
expected = [{'ran': 1188, 'failures': 3, 'errors': 1}]
run_test([PYTHON_EXE, "test.py", "!.*test_objectify.py"], cwd=LXML_DIR, expected=expected)

create_virtenv(ENV_NAME, None, force_create = True)
install_and_test_lxml()

0 comments on commit 02bd71a

Please sign in to comment.