summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-05-08 11:38:25 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-05-09 08:11:10 +0200
commit21ec66420acd85835913dc46c10543400fd3b878 (patch)
treee81a5da5ac705106250f4a43b95d47de2e13efaf /test
parent7c0d79131b136cb8dd63f0847844be2d79f6994c (diff)
downloadsystemd-21ec66420acd85835913dc46c10543400fd3b878.tar.gz
test-udev: skip test on python3.6
Diffstat (limited to 'test')
-rwxr-xr-xtest/test-udev.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-udev.py b/test/test-udev.py
index 86937205de..7e9afc4fc8 100755
--- a/test/test-udev.py
+++ b/test/test-udev.py
@@ -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)