Skip to content
This repository was archived by the owner on Apr 6, 2022. It is now read-only.

Commit c083680

Browse files
ulfalizergalak
authored andcommitted
check_compliance.py: Run the dtlib/edtlib test suites on Python 3.5
Will work once zephyrproject-rtos/zephyr#20597 is in. CI uses Python 3.5, so they have been skipped until now. Signed-off-by: Ulf Magnusson <[email protected]>
1 parent fc5a420 commit c083680

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

scripts/check_compliance.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -507,14 +507,6 @@ def run(self):
507507
if not ZEPHYR_BASE:
508508
self.skip("Not a Zephyr tree (ZEPHYR_BASE unset)")
509509

510-
# The dtlib/edtlib test suites rely on dictionaries preserving
511-
# insertion order. They don't before Python 3.6. The code could be
512-
# updated to use collections.OrderedDict to work around it, but I'm not
513-
# sure it's worth it with Python 3.6 starting to get old (released
514-
# December 2016).
515-
if sys.version_info < (3, 6, 0):
516-
self.skip("The dtlib/edtlib test suites require Python 3.6+")
517-
518510
scripts_path = os.path.join(ZEPHYR_BASE, "scripts", "dts")
519511

520512
sys.path.insert(0, scripts_path)

0 commit comments

Comments
 (0)