Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_document.py draws error in test suite #75

Closed
idella opened this issue Nov 2, 2012 · 2 comments
Closed

test_document.py draws error in test suite #75

idella opened this issue Nov 2, 2012 · 2 comments

Comments

@idella
Copy link

idella commented Nov 2, 2012

reportlab version 2.5
freetype version 2.4.10
setuptools version 0.6.30
numpy version 1.6.2
Python version 2.7.3
font-cursor-misc version 1.0.3
font-misc-misc version 1.1.2
enable version 4.2

running test suite

ERROR: testURLFallback (enable.savage.svg.tests.test_document.TestBrushFromColourValue)

Traceback (most recent call last):
File "/var/tmp/portage/dev-python/enable-4.2.0/work/enable-4.2.0/build-2.7/lib.linux-x86_64-2.7/enable/savage/svg/tests/test_document.py", line 67, in testURLFallback
self.document.getBrushFromState().color,
File "/var/tmp/portage/dev-python/enable-4.2.0/work/enable-4.2.0/build-2.7/lib.linux-x86_64-2.7/enable/savage/svg/document.py", line 878, in getBrushFromState
element = self.dereference(url)
File "/var/tmp/portage/dev-python/enable-4.2.0/work/enable-4.2.0/build-2.7/lib.linux-x86_64-2.7/enable/savage/svg/document.py", line 340, in dereference
element = resources.open_svg(uri)
File "/var/tmp/portage/dev-python/enable-4.2.0/work/enable-4.2.0/build-2.7/lib.linux-x86_64-2.7/enable/savage/svg/document.py", line 189, in open_svg
tree = ET.parse(f)
File "", line 62, in parse
File "", line 38, in parse
ParseError: syntax error: line 1, column 0

FAIL: testPointConversion (enable.savage.svg.tests.test_document.TestValueToPixels)

Traceback (most recent call last):
File "/var/tmp/portage/dev-python/enable-4.2.0/work/enable-4.2.0/build-2.7/lib.linux-x86_64-2.7/enable/savage/svg/tests/test_document.py", line 78, in testPointConversion
self.assertEqual(got, 22)
AssertionError: 14 != 22


Ran 98 tests in 49.957s

FAILED (errors=1, failures=1)

  • ERROR: dev-python/enable-4.2.0 failed (test phase):
    Python2.6 didn't even build, but I can't think of anyone too worried about that.

They are quite specific to the package and I don't know the package to attempt to pin a cause.
Once I got PYTHONPATH set to catch the modules only these 2 remaining.
System gentoo

@idella
Copy link
Author

idella commented Jan 10, 2013

and ... ?

@jwiggins
Copy link
Member

This should be addressed sufficiently now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants