﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
36435	CaptureQueriesContext can miss queries after nesting	Adam Johnson	Adam Johnson	"`CaptureQueriesContext.__exit__()`, as used by `assertNumQueries()`, unconditionally restores the `reset_queries` signal receiver. This behaviour can lead to missed queries when the context manager is nested and a request is made after the inner context manager exits.

The solution is to restore the signal receiver in `__exit__()` only if it was removed in `__enter__()`."	Bug	closed	Testing framework	dev	Normal	fixed			Ready for checkin	1	0	0	0	0	0
