Apply WT-17797 comment convention and is-None style to checkpoint_util.py

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Test Python
    • None
    • Storage Engines, Storage Engines - Persistence
    • 0.001
    • SE Persistence backlog
    • None

      Motivation

      Follow-up to WT-17721, which added test/suite/helpers/checkpoint_util.py. For consistency with the convention established in WT-17797 (remove the file name from code comments to avoid stale comments when files are renamed) and standard Python style, two small cleanups are needed in checkpoint_util.py:
      * Remove the # checkpoint_util.py file-name comment line.
      * Use is None instead of == None.

      Definition of done
      * checkpoint_util.py no longer hardcodes its file name in a comment.
      * Identity comparison uses is None.
      * Tests still pass.

            Assignee:
            Etienne Petrel
            Reporter:
            Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: