- Replace pytest.raises match parameter with exc_info and string assertion
- Avoids potential regex matching differences between Python versions
- Should resolve Python 3.10 CI test failure while maintaining test effectiveness
Co-Authored-By: João <joao@crewai.com>
- Fix test_environment_variable_file_not_found to catch exception during I18N() instantiation
- Exception is raised by Pydantic model validator during object creation, not explicit method call
- Resolves Python 3.10 CI test failure
Co-Authored-By: João <joao@crewai.com>