the Fedora patch is not enough, it fails later with:

======================================================================
ERROR: test_mimetypes.test_root_path
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 187, in runTest
    self.test(*self.arg)
  File "/home/packages/tmp/webhelpers-1.3/tests/test_mimetypes.py", line 36, in
test_root_path
    eq_(m.mimetype('text/html'), 'text/html')
  File "/home/packages/tmp/webhelpers-1.3/webhelpers/mimehelper.py", line 114,
in mimetype
    self.env['HTTP_ACCEPT'])
TypeError: __init__() takes exactly 2 arguments (3 given)

======================================================================
ERROR: test_mimetypes.test_with_extension
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 187, in runTest
    self.test(*self.arg)
  File "/home/packages/tmp/webhelpers-1.3/tests/test_mimetypes.py", line 44, in
test_with_extension
    eq_(m.mimetype('text/html'), False)
  File "/home/packages/tmp/webhelpers-1.3/webhelpers/mimehelper.py", line 114,
in mimetype
    self.env['HTTP_ACCEPT'])
TypeError: __init__() takes exactly 2 arguments (3 given)

======================================================================
ERROR: test_mimetypes.test_with_unregistered_extention
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 187, in runTest
    self.test(*self.arg)
  File "/home/packages/tmp/webhelpers-1.3/tests/test_mimetypes.py", line 53, in
test_with_unregistered_extention
    eq_(m.mimetype('text/html'), False)
  File "/home/packages/tmp/webhelpers-1.3/webhelpers/mimehelper.py", line 114,
in mimetype
    self.env['HTTP_ACCEPT'])
TypeError: __init__() takes exactly 2 arguments (3 given)

======================================================================
ERROR: test_mimetypes.test_root_path
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 187, in runTest
    self.test(*self.arg)
  File "/home/packages/tmp/webhelpers-1.3/tests/test_mimetypes.py", line 36, in
test_root_path
    eq_(m.mimetype('text/html'), 'text/html')
  File "/home/packages/tmp/webhelpers-1.3/webhelpers/mimehelper.py", line 114,
in mimetype
    self.env['HTTP_ACCEPT'])
TypeError: __init__() takes exactly 2 arguments (3 given)

======================================================================
ERROR: test_mimetypes.test_with_extension
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 187, in runTest
    self.test(*self.arg)
  File "/home/packages/tmp/webhelpers-1.3/tests/test_mimetypes.py", line 44, in
test_with_extension
    eq_(m.mimetype('text/html'), False)
  File "/home/packages/tmp/webhelpers-1.3/webhelpers/mimehelper.py", line 114,
in mimetype
    self.env['HTTP_ACCEPT'])
TypeError: __init__() takes exactly 2 arguments (3 given)

======================================================================
ERROR: test_mimetypes.test_with_unregistered_extention
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 187, in runTest
    self.test(*self.arg)
  File "/home/packages/tmp/webhelpers-1.3/tests/test_mimetypes.py", line 53, in
test_with_unregistered_extention
    eq_(m.mimetype('text/html'), False)
  File "/home/packages/tmp/webhelpers-1.3/webhelpers/mimehelper.py", line 114,
in mimetype
    self.env['HTTP_ACCEPT'])
TypeError: __init__() takes exactly 2 arguments (3 given)



_______________________________________________
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to