﻿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
33990	Inconsistent capitalization of Set in assertion functions	John Litborn	Michael Howitz	"FormSet and QuerySet for some reason doesn't have a capitalized S in `assertFormsetError`  and `assertQuerysetEqual`, whereas all other instances of camel-cased names in the codebase containing either of them have capitalized S's: (InlineAdminFormSet, Base[...]FormSet, EmptyQuerySet, RawQuerySet).

Looking at the other assertion methods inherited from `unittest.TestCase` they're incredibly cased (e.g. `assertMultiLineEqual`) so I'm not finding any convention of not uppercasing liberally.

My suggestion is to rename `assertFormsetError`->`assertFormSetError` and `assertQuerysetEqual`->`assertQuerySetEqual` in `django.test.TestCase` and add aliases for the old names so as not to break existing code. In the code base this is a quite small change, but there's likely some docs (and e.g. the tutorial) that might warrant updating to new spelling. Could also (down the line) add a deprecationwarning to get rid of the old spelling if you want a cleaner API interface.

This bit me as I was following the tutorial and re-typing the code instead of copy-pasting, so it's plausible that others might encounter it similarly if they don't have an IDE that suggests the alternate spelling."	Cleanup/optimization	closed	Testing framework	4.1	Normal	fixed	naming, capitalization, camelcase	David Sanders	Ready for checkin	1	0	0	0	1	0
