Stavo cercando di migliorare il mio codice e improvvisamente ottengo questo errore:
Non uso la libreria re non faccio import re
..\..\..\anaconda3\lib\site-packages\pyreadline\py3k_compat.py:8
C:\Users\alessandrobonanni\anaconda3\lib\site-packages\pyreadline\py3k_compat.py:8: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
return isinstance(x, collections.Callable)
..\..\..\anaconda3\lib\site-packages\win32\lib\pywintypes.py:2
C:\Users\alessandrobonanni\anaconda3\lib\site-packages\win32\lib\pywintypes.py:2: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp, sys, os
-- Docs: https://docs.pytest.org/en/stable/warnings.html
========================================================================= short test summary info =========================================================================
FAILED test_01.py::Test::test_example_0 - testlib.ForbiddenError: The import of 're' is forbidden
Non uso la libreria re non faccio import re
..\..\..\anaconda3\lib\site-packages\pyreadline\py3k_compat.py:8
C:\Users\alessandrobonanni\anaconda3\lib\site-packages\pyreadline\py3k_compat.py:8: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
return isinstance(x, collections.Callable)
..\..\..\anaconda3\lib\site-packages\win32\lib\pywintypes.py:2
C:\Users\alessandrobonanni\anaconda3\lib\site-packages\win32\lib\pywintypes.py:2: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp, sys, os
-- Docs: https://docs.pytest.org/en/stable/warnings.html
========================================================================= short test summary info =========================================================================
FAILED test_01.py::Test::test_example_0 - testlib.ForbiddenError: The import of 're' is forbidden