Skip to content

Commit

Permalink
Disable lxml objectify tests because they depend on refcounting GC be…
Browse files Browse the repository at this point in the history
…havior and are therefore very flaky
  • Loading branch information
undingen committed Jan 4, 2016
1 parent 7e58677 commit 1855e7c
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': 2}]
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 1855e7c

Please sign in to comment.