pombreda / formalchemy

Automatically exported from code.google.com/p/formalchemy
MIT License
0 stars 0 forks source link

Z tests fails in test_unicode #102

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. launch tests

What is the expected output? What do you see instead?
O failures, We get 2 failures :

======================================================================
FAIL: Doctest: formalchemy.tests.test_unicode
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/doctest.py",
line 2145, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for formalchemy.tests.test_unicode
  File "/Users/benoitc/Work/formalchemy/formalchemy/tests/test_unicode.py",
line 31, in test_unicode

----------------------------------------------------------------------
File "/Users/benoitc/Work/formalchemy/formalchemy/tests/test_unicode.py",
line 49, in formalchemy.tests.test_unicode
Failed example:
    print fs.render() #doctest: +ELLIPSIS
Exception raised:
    Traceback (most recent call last):
      File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/doctest.py",
line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest formalchemy.tests.test_unicode[10]>", line 1, in <module>
        print fs.render() #doctest: +ELLIPSIS
      File "/Users/benoitc/Work/formalchemy/formalchemy/tests/__init__.py",
line 321, in render
        assert html == html_engine, (name, html, html_engine)
    AssertionError: ('tempita', '<tbody>\n <tr>\n  <td
class="field_readonly">\n   Email:\n  </td>\n  <td>\n   jose@example.com\n
 </td>\n </tr>\n <tr>\n  <td class="field_readonly">\n   Password:\n 
</td>\n  <td>\n   6565\n  </td>\n </tr>\n <tr>\n  <td
class="field_readonly">\n   Name:\n  </td>\n  <td>\n   Jos\xc3\xa9\n 
</td>\n </tr>\n <tr>\n  <td class="field_readonly">\n   Orders:\n  </td>\n
 <td>\n   Quantity: 4\n  </td>\n </tr>\n</tbody>', '<tbody>\n <tr>\n  <td
class="field_readonly">\n   Email:\n  </td>\n  <td>\n   jose@example.com\n
 </td>\n </tr>\n <tr>\n  <td class="field_readonly">\n   Password:\n 
</td>\n  <td>\n   6565\n  </td>\n </tr>\n <tr>\n  <td
class="field_readonly">\n   Name:\n  </td>\n  <td>\n  
Jos\xc4\x82\xc5\xa0\n  </td>\n </tr>\n <tr>\n  <td
class="field_readonly">\n   Orders:\n  </td>\n  <td>\n   Quantity: 4\n 
</td>\n </tr>\n</tbody>')
----------------------------------------------------------------------
File "/Users/benoitc/Work/formalchemy/formalchemy/tests/test_unicode.py",
line 58, in formalchemy.tests.test_unicode
Failed example:
    print fs.render() #doctest: +ELLIPSIS
Exception raised:
    Traceback (most recent call last):
      File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/doctest.py",
line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest formalchemy.tests.test_unicode[14]>", line 1, in <module>
        print fs.render() #doctest: +ELLIPSIS
      File "/Users/benoitc/Work/formalchemy/formalchemy/tests/__init__.py",
line 321, in render
        assert html == html_engine, (name, html, html_engine)
    AssertionError: ('tempita', '<tbody>\n <tr>\n  <td
class="field_readonly">\n   Quantity:\n  </td>\n  <td>\n   4\n  </td>\n
</tr>\n <tr>\n  <td class="field_readonly">\n   User:\n  </td>\n  <td>\n  
Jos\xc3\xa9\n  </td>\n </tr>\n</tbody>', '<tbody>\n <tr>\n  <td
class="field_readonly">\n   Quantity:\n  </td>\n  <td>\n   4\n  </td>\n
</tr>\n <tr>\n  <td class="field_readonly">\n   User:\n  </td>\n  <td>\n  
Jos\xc4\x82\xc5\xa0\n  </td>\n </tr>\n</tbody>')

What version of the product are you using? On what operating system?

latest trunk on python 2.6 (macosx)

Original issue reported on code.google.com by bchesn...@gmail.com on 1 Jun 2009 at 7:19

GoogleCodeExporter commented 9 years ago
I cant reproduce both on osx and linux

buildbot dont complain too: http://buildbot.formalchemy.org/waterfall

Original comment by gael.pas...@gmail.com on 28 Jun 2009 at 10:24