Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1209

Test Failure - test_collection.TestCollection.test_write_error_text_handling (Solaris)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial - P5
    • Resolution: Fixed
    • None
    • 3.5
    • Tests
    • None

    Description

      This failure only happens on Solaris. It is similar to the bug here: https://bugs.python.org/issue14847.

      ======================================================================
      ERROR [0.007s]: test_write_error_text_handling (test_collection.TestCollection)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/data/mci/8da2c4eb0b7dadf50ff34fbefb2c1ae7/src/test/test_collection.py", line 1192, in test_write_error_text_handling
          text = data.decode("utf8")
        File "/usr/lib/python2.6/encodings/utf_8.py", line 16, in decode
          return codecs.utf_8_decode(input, errors, True)
      AttributeError: 'NoneType' object has no attribute 'utf_8_decode'
      

      Attachments

        Activity

          People

            bernie@mongodb.com Bernie Hackett
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: