I am looking for a function in Python testing the hypothesis that the variance of a Gaussian sample is equal to a given value, to validate my own function.
I talk about this test: https://www.itl.nist.gov/div898/handbook/eda/section3/eda358.htm
I could find the $\chi^2$ test for categorical variance, and the Levene and Bartlett tests to compare sample variances, but not this simple test. Anybody aware of such a function in Python?