Suppose I have a sample of n variables and I know that the population mean is 0 and variance is 1. I want to check if the sample skew defined as
$$ s=\frac{1}{n} \sum_i X_i^3 $$
is statistically significantly different from that the population distribution being unit normal. My way of doing it was to say under a standard normal assumption
$$ E[s]=0 \\ E[s^2]= \frac{15}{n} $$
so I check the p-value of my sample s against a $\mathcal N(0,\sqrt{15/n})$. However scipy.stats has a function to test the significance of skewness against a standard normal and it looks quite different from what I have (see source following the link https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.skewtest.html#scipy.stats.skewtest). They do not provide a reference. Now obviously the distribution of $X^3$ is not Gaussian but for large enough $n$ CLT should make the tests the same but I was wondering if anyone knows what test scipy.stats is using or any other test for skewness.