[issue10336] test_xmlrpc fails if gzip is not supported by client

Hirokazu Yamamoto report at bugs.python.org
Sat Nov 6 11:55:17 CET 2010


New submission from Hirokazu Yamamoto <ocean-city at m2.ccsnet.ne.jp>:

In test_xmlrpc.py,

    def test_gsip_response(self):
        # (sniP)
        self.assertTrue(a>b)

last line can fail if gzip is not supported by client.
(gzip is not set in HTTP header's Accept-Encoding)

======================================================================
FAIL: test_gsip_response (__main__.GzipServerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "e:\python-dev\py3k\lib\test\test_xmlrpc.py", line 722, in test_gsip_resp
onse
    self.assertTrue(a>b)
AssertionError: False is not True

----------
components: Library (Lib)
messages: 120602
nosy: ocean-city
priority: normal
severity: normal
status: open
title: test_xmlrpc fails if gzip is not supported by client
versions: Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10336>
_______________________________________


More information about the Python-bugs-list mailing list