Changes between Version 1 and Version 2 of Ticket #32403, comment 2
- Timestamp:
- Feb 1, 2021, 2:59:58 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32403, comment 2
v1 v2 17 17 }}} 18 18 19 No specific database env vars sets. Used only default values. 20 19 21 I found a problem. The problem is in [these lines](https://github.com/django/django/blob/f9cfd346f0222d86bfbac26ef5455806965bae6b/django/db/backends/postgresql/base.py#L324-L325). If I have one connection and test expression in if return false then function just return without reraise exception. And `contextmanager` raises error `RuntimeError: generator didn't yield` 20 22