test-udev: skip test on python3.6

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2023-05-08 11:38:25 +02:00
parent 7c0d79131b
commit 21ec66420a

View file

@ -19,7 +19,6 @@
# removes the device node. After creation and removal the result is checked
# against the expected value and the result is printed.
import dataclasses
import functools
import os
import pwd, grp
@ -33,6 +32,7 @@ from pathlib import Path
from typing import Callable, Optional
try:
import dataclasses # requires Python >= 3.7
import pytest
except ImportError as e:
print(str(e), file=sys.stderr)