pymongo.errors.InvalidURI: Username and password must be escaped according to RFC 3986, use urllib.parse.quote_plus()

When I try to do the pytest -m connection, it shows me this error, which makes me cannot proceed future. Can someone show me some tips to solve this problem?

Seems like special character issue, can you please share contents of .ini file?