Fix "line buffering" warnings in test/suite

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • WT12.0.0
    • Affects Version/s: None
    • Component/s: Test Python
    • None
    • Storage Engines, Storage Engines - Persistence
    • 0.001
    • None
    • None

      Running test/suite prints the following annoying warnings when used with -j:

      /opt/mongodbtoolchain/revisions/c36013b8bab41fcd3cbfd5e4b4590cd0c10ea6ce/stow/python3-v5.JxH/lib/python3.10/os.py:1029: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
        return io.open(fd, mode, buffering, encoding, *args, **kwargs)
      /opt/mongodbtoolchain/revisions/c36013b8bab41fcd3cbfd5e4b4590cd0c10ea6ce/stow/python3-v5.JxH/lib/python3.10/os.py:1029: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
        return io.open(fd, mode, buffering, encoding, *args, **kwargs)
      

            Assignee:
            Peter Macko
            Reporter:
            Peter Macko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: