Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-19450

Hygiene updates for warnings and pytests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Low
    • Resolution: Unresolved
    • 5.x
    • CQL/Interpreter
    • None
    • Code Clarity
    • Low Hanging Fruit
    • All
    • None
    • Hide

      Ran pytests and pycodestyle checks.

      Show
      Ran pytests and pycodestyle checks.

    Description

       

      • Update 'Warning' message to write to stderr
      • Replace TimeoutError Exception with builtin (since Python 3.3)
      • Remove re.pattern_type (removed since Python 3.7)
      • Fix mutable arg [] in read_until()
      • Remove redirect of stderr to stdout in pytest fixture with tty=false; Deprecation warnings can otherwise fail unit tests when stdout & stderr output is combined.
      • Fix several pycodestyle issues

      Attachments

        Issue Links

          Activity

            People

              bschoeni Brad Schoening
              bschoeni Brad Schoening
              Brad Schoening
              Stefan Miklosovic
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: