From 1855e7cdf5b4d43723677951366faf816dfb1b1c Mon Sep 17 00:00:00 2001 From: Marius Wachtler Date: Thu, 17 Dec 2015 19:53:15 +0000 Subject: [PATCH] Disable lxml objectify tests because they depend on refcounting GC behavior and are therefore very flaky --- test/extra/lxml_test.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/extra/lxml_test.py b/test/extra/lxml_test.py index 0e4dfd568..d255f3938 100644 --- a/test/extra/lxml_test.py +++ b/test/extra/lxml_test.py @@ -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()