Message ID | 20210712195258.21074-1-sj38.park@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | df4b0807ca1a62822342d404b863eff933d15762 |
Delegated to: | Brendan Higgins |
Headers | show |
Series | [v3] kunit: tool: Assert the version requirement | expand |
diff --git a/tools/testing/kunit/kunit.py b/tools/testing/kunit/kunit.py index be8d8d4a4e08..6276ce0c0196 100755 --- a/tools/testing/kunit/kunit.py +++ b/tools/testing/kunit/kunit.py @@ -12,6 +12,8 @@ import sys import os import time +assert sys.version_info >= (3, 7), "Python version is too old" + from collections import namedtuple from enum import Enum, auto