Azure / azure-functions-python-worker

Python worker for Azure Functions.
http://aka.ms/azurefunctions
MIT License
331 stars 100 forks source link

fix: latest pytest version breaking tests #1507

Closed hallvictoria closed 3 weeks ago

hallvictoria commented 3 weeks ago

Description

On 6/4, pytest released a new version == 8.2.2, which caused several of the E2E and unit tests to fail with an AssertionError "assert testcase is not None". This changes to install a compatible version of pytest. 7.4.4 is the latest version we can pin to, as the 8.* versions are not supported in python 3.7.

For example:

Fixes #


PR information

Quality of Code and Contribution Guidelines

YunchuWang commented 3 weeks ago

nit: add broken pipeline link to this pr for easy tracking if needed in future