aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-05-24 19:29:13 -0700
committerGravatar MarkKoz <[email protected]>2020-05-24 19:31:45 -0700
commit856cecbd2354d4cbdbace5a39b7eb9e3d3bf23c7 (patch)
tree52fd67b8f2272a10d45622ecbff74e517341ec88 /tests/helpers.py
parentImprove error and error testing for increment (diff)
Add support for Union type annotations for constants
Note that `Optional[x]` is just an alias for `Union[None, x]` so this effectively supports `Optional` too. This was especially troublesome because the redis password must be unset/None in order to avoid authentication, but the test would complain that `None` isn't a `str`. Setting to an empty string would pass the test but then make redis authenticate and fail.
Diffstat (limited to 'tests/helpers.py')
0 files changed, 0 insertions, 0 deletions