Trouble running pytest -m text_and_subfield_search

getting followin error while executing pytest

TypeError: object of type ‘ServerSelectionTimeoutError’ has no len()

Does anyone know how can i remove this error???