Test models for pickled querysets have invalid code
|Reported by:||Baptiste Mispelon||Owned by:||Baptiste Mispelon|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The models located in
tests/queryset_pickle/models.py use some defaults that can't actually be called.
This doesn't show when running the tests because no models are actually created so the problematic functions are never called.
standalone_number function and the
Numbers.get_static_number static method shouldn't actually take any parameter.