From: Zbigniew Jędrzejewski-Szmek Date: Mon, 8 May 2023 09:38:25 +0000 (+0200) Subject: test-udev: skip test on python3.6 X-Git-Tag: v254-rc1~529^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=21ec66420acd85835913dc46c10543400fd3b878;p=thirdparty%2Fsystemd.git test-udev: skip test on python3.6 --- diff --git a/test/test-udev.py b/test/test-udev.py index 86937205de6..7e9afc4fc8a 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)