mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 18:35:13 +00:00
Extract the version of Python interpreter using the `sys.version` will break the Python26CompatTestCase class when the Python version is 3.11. Rather the correct way to compare the Python version is using the `sys.version_info` or the `platform` module as suggested in Python official doc, https://docs.python.org/3/library/sys.html#sys.version. Signed-off-by: Wen Liang <liangwen12year@gmail.com> |
||
|---|---|---|
| .. | ||
| test_network_connections.py | ||
| test_nm_provider.py | ||