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

testSanitize fails in suite in release -2.1.8 #6

Closed
idella opened this issue May 29, 2014 · 0 comments
Closed

testSanitize fails in suite in release -2.1.8 #6

idella opened this issue May 29, 2014 · 0 comments

Comments

@idella
Copy link

idella commented May 29, 2014

.............................................................................................................................................E.....
===============================================================
ERROR: textile.tests.Tests.testSanitize
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/pypy/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/mnt/gen2/TmpDir/portage/app-text/pytextile-2.1.8/work/textile-2.1.8/textile/tests/__init__.py", line 474, in testSanitize
    expect = textile.Textile().textile(test, sanitize=True)
  File "/mnt/gen2/TmpDir/portage/app-text/pytextile-2.1.8/work/textile-2.1.8/textile/functions.py", line 290, in textile
    text = sanitizer.sanitize(text)
  File "/mnt/gen2/TmpDir/portage/app-text/pytextile-2.1.8/work/textile-2.1.8/textile/tools/sanitizer.py", line 16, in sanitize
    stream = walker(tree)
TypeError: 'NoneType' object is not callable

Name                      Stmts   Miss  Cover   Missing
-------------------------------------------------------
textile                       3      0   100%   
textile.functions           840     19    98%   32-33, 39-42, 216, 416-419, 485-486, 623-624, 895, 1073, 1237, 1465-1466
textile.tools               158    156     1%   9-264
textile.tools.imagesize      27     10    63%   15-16, 29, 33-34, 38-42
textile.tools.sanitizer      12      4    67%   9-10, 18-20
-------------------------------------------------------
TOTAL                      1040    189    82%   
----------------------------------------------------------------------
Ran 147 tests in 186.359s

FAILED (errors=1

This was a run under pypy. Consistent single fail of this test under py2.7 3.3 3.4 and pypy.
Do you require anything else?

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

1 participant