Closed SGauthier2Pro closed 1 year ago
installing six module with : pip install six
command
executing pytest again the error message desappeared but a warning stay
`configfile: setup.cfg
plugins: django-3.9.0
collected 1 item
oc_lettings_site/tests.py::test_dummy PASSED [100%]
============================================================================================================ warnings summary ============================================================================================================
env\lib\site-packages\django\utils\version.py:6
D:\Formation\DA_Python\Projet_13\Python-OC-Lettings-FR\env\lib\site-packages\django\utils\version.py:6: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 fo
r potential alternatives
from distutils.version import LooseVersion
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
====================================================================================================== 1 passed, 1 warning in 0.04s ======================================================================================================`
executing pytest, an error message regarding six module which is absent is displayed