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

Test Failure - test_collection.TestCollection.test_write_error_text_handling (Solaris)

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 3.5
    • Affects Version/s: None
    • Component/s: Tests
    • None

      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'
      

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

              Created:
              Updated:
              Resolved: