summaryrefslogtreecommitdiff
path: root/t/unit/test_platform.py
diff options
context:
space:
mode:
Diffstat (limited to 't/unit/test_platform.py')
-rw-r--r--t/unit/test_platform.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/t/unit/test_platform.py b/t/unit/test_platform.py
deleted file mode 100644
index 0bbfc3a..0000000
--- a/t/unit/test_platform.py
+++ /dev/null
@@ -1,13 +0,0 @@
-import pytest
-from amqp.platform import _linux_version_to_tuple
-
-
-@pytest.mark.parametrize('s,expected', [
- ('3.13.0-46-generic', (3, 13, 0)),
- ('3.19.43-1-amd64', (3, 19, 43)),
- ('4.4.34+', (4, 4, 34)),
- ('4.4.what', (4, 4, 0)),
- ('4.what.what', (4, 0, 0)),
-])
-def test_linux_version_to_tuple(s, expected):
- assert _linux_version_to_tuple(s) == expected