Fix warnings that appear during tests.
Review Request #15391 — Created Oct. 12, 2026 and updated — Latest diff uploaded
This change fixes up a bunch of warnings that are showing up:
- Replaced
sre_constants.errorwithre.error - Add action placements where appropriate.
- Replace
datetime.utcnow()withdatetime.now(timezone.utc) - Fixed datagrid
__init__methods to match args-vs-kwargs from the
base class. - Added
maxsplitto anre.split()call that's then destructured into
two variables. - Changed the import path for
cryptography'sCFB8cipher. - Removed an unused return value from a couple
test_*methods.
Ran unit tests.