If you want to skip a test when a condition is not met, use pytest skipif. For example, in the code above, I use skipif to skip a test if the python version is less than 3.9.
 
															If you want to skip a test when a condition is not met, use pytest skipif. For example, in the code above, I use skipif to skip a test if the python version is less than 3.9.