• 
      

    Fix warnings that appear during tests.

    Review Request #15391 — Created Oct. 12, 2026 and updated

    Information

    Review Board
    release-9.x

    Reviewers

    This change fixes up a bunch of warnings that are showing up:

    • Replaced sre_constants.error with re.error
    • Add action placements where appropriate.
    • Replace datetime.utcnow() with datetime.now(timezone.utc)
    • Fixed datagrid __init__ methods to match args-vs-kwargs from the
      base class.
    • Added maxsplit to an re.split() call that's then destructured into
      two variables.
    • Changed the import path for cryptography's CFB8 cipher.
    • Removed an unused return value from a couple test_* methods.

    Ran unit tests.

    Summary ID
    Fix warnings that appear during tests.
    This change fixes up a bunch of warnings that are showing up: - Replaced `sre_constants.error` with `re.error` - Add action placements where appropriate. - Replace `datetime.utcnow()` with `datetime.now(timezone.utc)` - Fixed datagrid `__init__` methods to match args-vs-kwargs from the base class. - Added `maxsplit` to an `re.split()` call that's then destructured into two variables. - Changed the import path for `cryptography`'s `CFB8` cipher. - Removed an unused return value from a couple `test_*` methods. Testing Done: Ran unit tests.
    ttoorvnvnomnwvqvuvvsrwrqvvllvvny
    Checks run (2 succeeded)
    flake8 passed.
    JSHint passed.