New GitHub issue #92563 from arhadthedev:<br>

<hr>

<pre>
Currently all (of the most of, need verification) modules are tested for `import`s only.

However, `if __name__ == "__main__"` path needs to be tested as well to avoid bugs like gh-92546 (reported for 3.10 but also affects 3.11b1).
</pre>

<hr>

<a href="https://github.com/python/cpython/issues/92563">View on GitHub</a>
<p>Labels: type-feature</p>
<p>Assignee: </p>