Marking invalid, because you have proposed a solution without describing the actual problem. On top of that, the solution you propose will break other features in Django, because importing unittest as you suggest won't return the library required.
Feel free to reopen this ticket if you want to provide a clear set of instructions for reproducing the problem you are seeing. If you want to propose a solution, that's fine, but we aren't going to apply a patch without a clear understanding of what it is the patch is trying to achieve, and why.