Reports a patch() target without a dot.

patch() replaces an attribute of an object. A target without a dot has no parent object, so you cannot patch it. Patch an attribute of the module instead. For example, patch("collections") is invalid, but patch("collections.OrderedDict") is valid.