← Back to team overview

testtools-dev team mailing list archive

[Bug 689858] Re: test failures on windows w/python 2.6

 

Have a hunch this might be twisted tests interfering somehow, but as I
wrote the one that's failing I would say that wouldn't I.

-- 
You received this bug notification because you are a member of testtools
developers, which is subscribed to testtools.
https://bugs.launchpad.net/bugs/689858

Title:
  test failures on windows w/python 2.6

Status in testtools:
  Triaged

Bug description:
  ======================================================================
FAIL: testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest.test_unprintable_exception
----------------------------------------------------------------------
Text attachment: traceback
------------
Traceback (most recent call last):
  File "testtools\runtest.py", line 169, in _run_user
    return fn(*args, **kwargs)
  File "testtools\testcase.py", line 499, in _run_test_method
    return self._get_test_method()()
  File "testtools\tests\test_testresult.py", line 1240, in test_unprintable_exception
    textoutput)
  File "testtools\testcase.py", line 275, in assertIn
    needle in haystack, '%r not in %r' % (needle, haystack))
AssertionError: 'UnprintableError: <unprintable UnprintableError object>\n' not in 'E\n=============
=========================================================\nERROR: test_unprintable_exception.Test.ru
nTest\n----------------------------------------------------------------------\n_StringException: Tex
t attachment: traceback\n------------\nTraceback (most recent call last):\n  File "testtools\\runtes
t.py", line 169, in _run_user\n    return fn(*args, **kwargs)\n  File "testtools\\testcase.py", line
 499, in _run_test_method\n    return self._get_test_method()()\n  File "c:\\users\\jameinel\\appdat
a\\local\\temp\\TestNonAsciiResultsWithUnittest6rm7fc\\test_unprintable_exception.py", line 11, in r
unTest\n    raise UnprintableError\nUnprintableError\n------------\n\n\n----------------------------
------------------------------------------\nRan 1 test in 0.001s\n\nFAILED (errors=1)\n'
------------

sometimes testtools.tests.test_testresult.TestNonAsciiResults.test_unprintable_exception fails too





References