From f9824abedb4f4b46b77ea5273fd1e43c4257e447 Mon Sep 17 00:00:00 2001
From: smlng <s@mlng.net>
Date: Fri, 10 Aug 2018 13:40:51 +0200
Subject: [PATCH] tests: remove unused os package import

os package is imported by every test script but only used by
a few, thus flake8 check reported errors.
---
 tests/bench_msg_pingpong/tests/01-run.py          | 1 -
 tests/bench_mutex_pingpong/tests/01-run.py        | 1 -
 tests/bench_sched_nop/tests/01-run.py             | 1 -
 tests/bench_thread_flags_pingpong/tests/01-run.py | 1 -
 tests/bench_thread_yield_pingpong/tests/01-run.py | 1 -
 tests/bitarithm_timings/tests/01-run.py           | 1 -
 tests/bloom_bytes/tests/01-run.py                 | 1 -
 tests/buttons/tests/01-run.py                     | 1 -
 tests/cb_mux/tests/01-run.py                      | 1 -
 tests/cb_mux_bench/tests/01-run.py                | 1 -
 tests/cbor/tests/01-run.py                        | 1 -
 tests/cpp11_condition_variable/tests/01-run.py    | 1 -
 tests/cpp11_mutex/tests/01-run.py                 | 1 -
 tests/cpp11_thread/tests/01-run.py                | 1 -
 tests/driver_ds1307/tests/01-run.py               | 1 -
 tests/driver_grove_ledbar/tests/01-run.py         | 1 -
 tests/driver_hd44780/tests/01-run.py              | 1 -
 tests/driver_my9221/tests/01-run.py               | 1 -
 tests/events/tests/01-run.py                      | 1 -
 tests/evtimer_msg/tests/01-run.py                 | 1 -
 tests/evtimer_underflow/tests/01-run.py           | 1 -
 tests/float/tests/01-run.py                       | 1 -
 tests/fmt_print/tests/01-run.py                   | 1 -
 tests/gnrc_ipv6_ext/tests/01-run.py               | 1 -
 tests/gnrc_ipv6_nib/tests/01-run.py               | 1 -
 tests/gnrc_ipv6_nib_6ln/tests/01-run.py           | 1 -
 tests/gnrc_ndp/tests/01-run.py                    | 1 -
 tests/gnrc_netif/tests/01-run.py                  | 1 -
 tests/gnrc_sixlowpan/tests/01-run.py              | 1 -
 tests/gnrc_sock_ip/tests/01-run.py                | 1 -
 tests/gnrc_sock_udp/tests/01-run.py               | 1 -
 tests/irq/tests/01-run.py                         | 1 -
 tests/isr_yield_higher/tests/test.py              | 1 -
 tests/libc_newlib/tests/01-run.py                 | 1 -
 tests/libfixmath/tests/01-run.py                  | 1 -
 tests/libfixmath_unittests/tests/01-run.py        | 1 -
 tests/lwip_sock_ip/tests/01-run.py                | 1 -
 tests/lwip_sock_tcp/tests/01-run.py               | 1 -
 tests/lwip_sock_udp/tests/01-run.py               | 1 -
 tests/msg_avail/tests/01-run.py                   | 1 -
 tests/msg_send_receive/tests/01-run.py            | 1 -
 tests/msg_try_receive/tests/01-run.py             | 1 -
 tests/mutex_order/tests/01-run.py                 | 1 -
 tests/mutex_unlock_and_sleep/tests/01-run.py      | 1 -
 tests/netdev_test/tests/01-run.py                 | 1 -
 tests/netstats_l2/tests/01-run.py                 | 1 -
 tests/nhdp/tests/01-run.py                        | 1 -
 tests/od/tests/01-run.py                          | 1 -
 tests/od/tests/02-run.py                          | 1 -
 tests/periph_gpio/tests/02-bench.py               | 1 -
 tests/periph_timer/tests/01-run.py                | 1 -
 tests/pipe/tests/01-run.py                        | 1 -
 tests/pkg_cayenne-lpp/tests/01-run.py             | 1 -
 tests/pkg_fatfs_vfs/tests/01-run.py               | 1 -
 tests/pkg_jsmn/tests/01-run.py                    | 1 -
 tests/pkg_libcoap/tests/01-run.py                 | 1 -
 tests/pkg_micro-ecc-with-hwrng/tests/01-run.py    | 1 -
 tests/pkg_micro-ecc/tests/01-run.py               | 1 -
 tests/pkg_minmea/tests/01-run.py                  | 1 -
 tests/pkg_monocypher/tests/01-run.py              | 1 -
 tests/pkg_tiny-asn1/tests/01-run.py               | 1 -
 tests/pkg_tinycbor/tests/01-run.py                | 1 -
 tests/pkg_tinycrypt/tests/01-run.py               | 1 -
 tests/pkg_u8g2/tests/01-run.py                    | 1 -
 tests/pkg_ucglib/tests/01-run.py                  | 1 -
 tests/pkg_umorse/tests/01-run.py                  | 1 -
 tests/posix_semaphore/tests/01-run.py             | 1 -
 tests/posix_time/tests/01-run.py                  | 1 -
 tests/ps_schedstatistics/tests/01-run.py          | 1 -
 tests/pthread/tests/01-run.py                     | 1 -
 tests/pthread_barrier/tests/01-run.py             | 1 -
 tests/pthread_cleanup/tests/01-run.py             | 1 -
 tests/pthread_condition_variable/tests/01-run.py  | 1 -
 tests/pthread_cooperation/tests/01-run.py         | 1 -
 tests/pthread_rwlock/tests/01-run.py              | 1 -
 tests/pthread_tls/tests/01-run.py                 | 1 -
 tests/rmutex/tests/01-run.py                      | 1 -
 tests/rng/tests/01-run.py                         | 1 -
 tests/sched_testing/tests/01-run.py               | 1 -
 tests/shell/tests/01-run.py                       | 1 -
 tests/sizeof_tcb/tests/01-run.py                  | 1 -
 tests/ssp/tests/01-run.py                         | 1 -
 tests/struct_tm_utility/tests/01-run.py           | 1 -
 tests/thread_basic/tests/01-run.py                | 1 -
 tests/thread_cooperation/tests/01-run.py          | 1 -
 tests/thread_exit/tests/01-run.py                 | 1 -
 tests/thread_flags/tests/01-run.py                | 1 -
 tests/thread_flags_xtimer/tests/01-run.py         | 1 -
 tests/thread_flood/tests/01-run.py                | 1 -
 tests/thread_msg/tests/01-run.py                  | 1 -
 tests/thread_msg_block_w_queue/tests/01-run.py    | 1 -
 tests/thread_msg_block_wo_queue/tests/01-run.py   | 1 -
 tests/thread_msg_seq/tests/01-run.py              | 1 -
 tests/thread_race/tests/01-run.py                 | 1 -
 tests/trace/tests/01-run.py                       | 1 -
 tests/trickle/tests/01-run.py                     | 1 -
 tests/unittests/tests/01-run.py                   | 1 -
 tests/xtimer_hang/tests/01-run.py                 | 1 -
 tests/xtimer_msg/tests/01-run.py                  | 1 -
 tests/xtimer_msg_receive_timeout/tests/01-run.py  | 1 -
 tests/xtimer_now64_continuity/tests/01-run.py     | 1 -
 tests/xtimer_periodic_wakeup/tests/01-run.py      | 1 -
 tests/xtimer_remove/tests/01-run.py               | 1 -
 tests/xtimer_reset/tests/01-run.py                | 1 -
 tests/xtimer_usleep/tests/01-run.py               | 1 -
 tests/xtimer_usleep_short/tests/01-run.py         | 1 -
 106 files changed, 106 deletions(-)

diff --git a/tests/bench_msg_pingpong/tests/01-run.py b/tests/bench_msg_pingpong/tests/01-run.py
index 1e6c34d6fb..7332378b99 100755
--- a/tests/bench_msg_pingpong/tests/01-run.py
+++ b/tests/bench_msg_pingpong/tests/01-run.py
@@ -7,7 +7,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/bench_mutex_pingpong/tests/01-run.py b/tests/bench_mutex_pingpong/tests/01-run.py
index 1e6c34d6fb..7332378b99 100755
--- a/tests/bench_mutex_pingpong/tests/01-run.py
+++ b/tests/bench_mutex_pingpong/tests/01-run.py
@@ -7,7 +7,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/bench_sched_nop/tests/01-run.py b/tests/bench_sched_nop/tests/01-run.py
index 1e6c34d6fb..7332378b99 100755
--- a/tests/bench_sched_nop/tests/01-run.py
+++ b/tests/bench_sched_nop/tests/01-run.py
@@ -7,7 +7,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/bench_thread_flags_pingpong/tests/01-run.py b/tests/bench_thread_flags_pingpong/tests/01-run.py
index 1e6c34d6fb..7332378b99 100755
--- a/tests/bench_thread_flags_pingpong/tests/01-run.py
+++ b/tests/bench_thread_flags_pingpong/tests/01-run.py
@@ -7,7 +7,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/bench_thread_yield_pingpong/tests/01-run.py b/tests/bench_thread_yield_pingpong/tests/01-run.py
index 1e6c34d6fb..7332378b99 100755
--- a/tests/bench_thread_yield_pingpong/tests/01-run.py
+++ b/tests/bench_thread_yield_pingpong/tests/01-run.py
@@ -7,7 +7,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/bitarithm_timings/tests/01-run.py b/tests/bitarithm_timings/tests/01-run.py
index 386d06136f..9e1cd77b3d 100755
--- a/tests/bitarithm_timings/tests/01-run.py
+++ b/tests/bitarithm_timings/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/bloom_bytes/tests/01-run.py b/tests/bloom_bytes/tests/01-run.py
index 699986feba..699eb2ee21 100755
--- a/tests/bloom_bytes/tests/01-run.py
+++ b/tests/bloom_bytes/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/buttons/tests/01-run.py b/tests/buttons/tests/01-run.py
index 3be148a5a2..4697ef690f 100755
--- a/tests/buttons/tests/01-run.py
+++ b/tests/buttons/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/cb_mux/tests/01-run.py b/tests/cb_mux/tests/01-run.py
index 0549c9657b..989ddecb8c 100755
--- a/tests/cb_mux/tests/01-run.py
+++ b/tests/cb_mux/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/cb_mux_bench/tests/01-run.py b/tests/cb_mux_bench/tests/01-run.py
index af84928ca2..b0e0518bf7 100755
--- a/tests/cb_mux_bench/tests/01-run.py
+++ b/tests/cb_mux_bench/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/cbor/tests/01-run.py b/tests/cbor/tests/01-run.py
index b420a17e79..fdef422e3b 100755
--- a/tests/cbor/tests/01-run.py
+++ b/tests/cbor/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 ACCEPTED_ERROR = 20
diff --git a/tests/cpp11_condition_variable/tests/01-run.py b/tests/cpp11_condition_variable/tests/01-run.py
index 158d6e36c6..90f5ebec68 100755
--- a/tests/cpp11_condition_variable/tests/01-run.py
+++ b/tests/cpp11_condition_variable/tests/01-run.py
@@ -7,7 +7,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/cpp11_mutex/tests/01-run.py b/tests/cpp11_mutex/tests/01-run.py
index 3b768c8a22..65990091c7 100755
--- a/tests/cpp11_mutex/tests/01-run.py
+++ b/tests/cpp11_mutex/tests/01-run.py
@@ -7,7 +7,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/cpp11_thread/tests/01-run.py b/tests/cpp11_thread/tests/01-run.py
index c67b01a44d..f6d92f5571 100755
--- a/tests/cpp11_thread/tests/01-run.py
+++ b/tests/cpp11_thread/tests/01-run.py
@@ -7,7 +7,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/driver_ds1307/tests/01-run.py b/tests/driver_ds1307/tests/01-run.py
index 992fa0fca9..d234526e0b 100755
--- a/tests/driver_ds1307/tests/01-run.py
+++ b/tests/driver_ds1307/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/driver_grove_ledbar/tests/01-run.py b/tests/driver_grove_ledbar/tests/01-run.py
index e2be76436b..8141bffd57 100755
--- a/tests/driver_grove_ledbar/tests/01-run.py
+++ b/tests/driver_grove_ledbar/tests/01-run.py
@@ -7,7 +7,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/driver_hd44780/tests/01-run.py b/tests/driver_hd44780/tests/01-run.py
index 87b126d469..29c6ba53ef 100755
--- a/tests/driver_hd44780/tests/01-run.py
+++ b/tests/driver_hd44780/tests/01-run.py
@@ -7,7 +7,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/driver_my9221/tests/01-run.py b/tests/driver_my9221/tests/01-run.py
index 39a482cfe5..7592b61fbc 100755
--- a/tests/driver_my9221/tests/01-run.py
+++ b/tests/driver_my9221/tests/01-run.py
@@ -7,7 +7,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/events/tests/01-run.py b/tests/events/tests/01-run.py
index d1d17996b9..b97b0a1d1d 100755
--- a/tests/events/tests/01-run.py
+++ b/tests/events/tests/01-run.py
@@ -7,7 +7,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/evtimer_msg/tests/01-run.py b/tests/evtimer_msg/tests/01-run.py
index 3e01c876a7..ce2736c1b6 100755
--- a/tests/evtimer_msg/tests/01-run.py
+++ b/tests/evtimer_msg/tests/01-run.py
@@ -7,7 +7,6 @@
 # directory for more details.
 
 from __future__ import print_function
-import os
 import sys
 
 ACCEPTED_ERROR = 20
diff --git a/tests/evtimer_underflow/tests/01-run.py b/tests/evtimer_underflow/tests/01-run.py
index 7f3ccd72ea..04e79d32b9 100755
--- a/tests/evtimer_underflow/tests/01-run.py
+++ b/tests/evtimer_underflow/tests/01-run.py
@@ -7,7 +7,6 @@
 # directory for more details.
 
 from __future__ import print_function
-import os
 import sys
 
 how_many = 100
diff --git a/tests/float/tests/01-run.py b/tests/float/tests/01-run.py
index fa0eb5d053..ffbfae9bc0 100755
--- a/tests/float/tests/01-run.py
+++ b/tests/float/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 # It takes 35 seconds on wsn430, so add some margin
diff --git a/tests/fmt_print/tests/01-run.py b/tests/fmt_print/tests/01-run.py
index 558903a8f7..12209df798 100755
--- a/tests/fmt_print/tests/01-run.py
+++ b/tests/fmt_print/tests/01-run.py
@@ -1,6 +1,5 @@
 #!/usr/bin/env python3
 
-import os
 import sys
 
 
diff --git a/tests/gnrc_ipv6_ext/tests/01-run.py b/tests/gnrc_ipv6_ext/tests/01-run.py
index dec27a34ef..b0277af8ee 100755
--- a/tests/gnrc_ipv6_ext/tests/01-run.py
+++ b/tests/gnrc_ipv6_ext/tests/01-run.py
@@ -7,7 +7,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/gnrc_ipv6_nib/tests/01-run.py b/tests/gnrc_ipv6_nib/tests/01-run.py
index 402645aa86..7df19bc0bf 100755
--- a/tests/gnrc_ipv6_nib/tests/01-run.py
+++ b/tests/gnrc_ipv6_nib/tests/01-run.py
@@ -7,7 +7,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/gnrc_ipv6_nib_6ln/tests/01-run.py b/tests/gnrc_ipv6_nib_6ln/tests/01-run.py
index 402645aa86..7df19bc0bf 100755
--- a/tests/gnrc_ipv6_nib_6ln/tests/01-run.py
+++ b/tests/gnrc_ipv6_nib_6ln/tests/01-run.py
@@ -7,7 +7,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/gnrc_ndp/tests/01-run.py b/tests/gnrc_ndp/tests/01-run.py
index 7b5d5164ff..c36c003427 100755
--- a/tests/gnrc_ndp/tests/01-run.py
+++ b/tests/gnrc_ndp/tests/01-run.py
@@ -7,7 +7,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/gnrc_netif/tests/01-run.py b/tests/gnrc_netif/tests/01-run.py
index 2678e55bfc..7c722a6ffb 100755
--- a/tests/gnrc_netif/tests/01-run.py
+++ b/tests/gnrc_netif/tests/01-run.py
@@ -7,7 +7,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/gnrc_sixlowpan/tests/01-run.py b/tests/gnrc_sixlowpan/tests/01-run.py
index 97df29c958..2254e0e2ef 100755
--- a/tests/gnrc_sixlowpan/tests/01-run.py
+++ b/tests/gnrc_sixlowpan/tests/01-run.py
@@ -7,7 +7,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/gnrc_sock_ip/tests/01-run.py b/tests/gnrc_sock_ip/tests/01-run.py
index 5e730dc9a8..7daf6b0f27 100755
--- a/tests/gnrc_sock_ip/tests/01-run.py
+++ b/tests/gnrc_sock_ip/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/gnrc_sock_udp/tests/01-run.py b/tests/gnrc_sock_udp/tests/01-run.py
index 19cf6585d7..890ee64664 100755
--- a/tests/gnrc_sock_udp/tests/01-run.py
+++ b/tests/gnrc_sock_udp/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/irq/tests/01-run.py b/tests/irq/tests/01-run.py
index e6a7407644..164d335653 100755
--- a/tests/irq/tests/01-run.py
+++ b/tests/irq/tests/01-run.py
@@ -1,6 +1,5 @@
 #!/usr/bin/env python3
 
-import os
 import sys
 
 
diff --git a/tests/isr_yield_higher/tests/test.py b/tests/isr_yield_higher/tests/test.py
index 5ff95c57a5..7df1e1b5c4 100755
--- a/tests/isr_yield_higher/tests/test.py
+++ b/tests/isr_yield_higher/tests/test.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/libc_newlib/tests/01-run.py b/tests/libc_newlib/tests/01-run.py
index f5a55fd74e..3cb9911b3b 100755
--- a/tests/libc_newlib/tests/01-run.py
+++ b/tests/libc_newlib/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/libfixmath/tests/01-run.py b/tests/libfixmath/tests/01-run.py
index fe0e569f83..147d68672d 100755
--- a/tests/libfixmath/tests/01-run.py
+++ b/tests/libfixmath/tests/01-run.py
@@ -1,6 +1,5 @@
 #!/usr/bin/env python3
 
-import os
 import sys
 
 
diff --git a/tests/libfixmath_unittests/tests/01-run.py b/tests/libfixmath_unittests/tests/01-run.py
index c26be21b75..43c877c5a1 100755
--- a/tests/libfixmath_unittests/tests/01-run.py
+++ b/tests/libfixmath_unittests/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 # Float and print operations are slow on boards
diff --git a/tests/lwip_sock_ip/tests/01-run.py b/tests/lwip_sock_ip/tests/01-run.py
index efe2b398d9..973c5db842 100755
--- a/tests/lwip_sock_ip/tests/01-run.py
+++ b/tests/lwip_sock_ip/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/lwip_sock_tcp/tests/01-run.py b/tests/lwip_sock_tcp/tests/01-run.py
index 2d9fae84db..1e3cba2f14 100755
--- a/tests/lwip_sock_tcp/tests/01-run.py
+++ b/tests/lwip_sock_tcp/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/lwip_sock_udp/tests/01-run.py b/tests/lwip_sock_udp/tests/01-run.py
index 5acc81904f..eb81e986c5 100755
--- a/tests/lwip_sock_udp/tests/01-run.py
+++ b/tests/lwip_sock_udp/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/msg_avail/tests/01-run.py b/tests/msg_avail/tests/01-run.py
index d1d17996b9..b97b0a1d1d 100755
--- a/tests/msg_avail/tests/01-run.py
+++ b/tests/msg_avail/tests/01-run.py
@@ -7,7 +7,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/msg_send_receive/tests/01-run.py b/tests/msg_send_receive/tests/01-run.py
index 9fc6cd5864..30ba904615 100755
--- a/tests/msg_send_receive/tests/01-run.py
+++ b/tests/msg_send_receive/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/msg_try_receive/tests/01-run.py b/tests/msg_try_receive/tests/01-run.py
index 30fb32ca22..3c736de0e2 100755
--- a/tests/msg_try_receive/tests/01-run.py
+++ b/tests/msg_try_receive/tests/01-run.py
@@ -1,6 +1,5 @@
 #!/usr/bin/env python3
 
-import os
 import sys
 
 
diff --git a/tests/mutex_order/tests/01-run.py b/tests/mutex_order/tests/01-run.py
index 424c9e7a33..d0f278857e 100755
--- a/tests/mutex_order/tests/01-run.py
+++ b/tests/mutex_order/tests/01-run.py
@@ -7,7 +7,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 thread_prio = {
diff --git a/tests/mutex_unlock_and_sleep/tests/01-run.py b/tests/mutex_unlock_and_sleep/tests/01-run.py
index 0505ac2c92..b968bc9c9f 100755
--- a/tests/mutex_unlock_and_sleep/tests/01-run.py
+++ b/tests/mutex_unlock_and_sleep/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/netdev_test/tests/01-run.py b/tests/netdev_test/tests/01-run.py
index 62ce660e1c..c4d0b2f338 100755
--- a/tests/netdev_test/tests/01-run.py
+++ b/tests/netdev_test/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/netstats_l2/tests/01-run.py b/tests/netstats_l2/tests/01-run.py
index c0d84e2342..04962da710 100755
--- a/tests/netstats_l2/tests/01-run.py
+++ b/tests/netstats_l2/tests/01-run.py
@@ -7,7 +7,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/nhdp/tests/01-run.py b/tests/nhdp/tests/01-run.py
index a0ed853f53..968f07cdbb 100755
--- a/tests/nhdp/tests/01-run.py
+++ b/tests/nhdp/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/od/tests/01-run.py b/tests/od/tests/01-run.py
index c552865f5d..31cf2ae1de 100755
--- a/tests/od/tests/01-run.py
+++ b/tests/od/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/od/tests/02-run.py b/tests/od/tests/02-run.py
index c28df9ec37..e998fa6c2c 100755
--- a/tests/od/tests/02-run.py
+++ b/tests/od/tests/02-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/periph_gpio/tests/02-bench.py b/tests/periph_gpio/tests/02-bench.py
index 09ed4e401b..016fc529fe 100755
--- a/tests/periph_gpio/tests/02-bench.py
+++ b/tests/periph_gpio/tests/02-bench.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/periph_timer/tests/01-run.py b/tests/periph_timer/tests/01-run.py
index 6648eb4ff7..dc11d2bb21 100755
--- a/tests/periph_timer/tests/01-run.py
+++ b/tests/periph_timer/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/pipe/tests/01-run.py b/tests/pipe/tests/01-run.py
index 9623d436e5..3bec382418 100755
--- a/tests/pipe/tests/01-run.py
+++ b/tests/pipe/tests/01-run.py
@@ -1,6 +1,5 @@
 #!/usr/bin/env python3
 
-import os
 import sys
 
 
diff --git a/tests/pkg_cayenne-lpp/tests/01-run.py b/tests/pkg_cayenne-lpp/tests/01-run.py
index 4b99eedb8c..593b9e625b 100755
--- a/tests/pkg_cayenne-lpp/tests/01-run.py
+++ b/tests/pkg_cayenne-lpp/tests/01-run.py
@@ -1,6 +1,5 @@
 #!/usr/bin/env python3
 
-import os
 import sys
 
 NB_TESTS = 3
diff --git a/tests/pkg_fatfs_vfs/tests/01-run.py b/tests/pkg_fatfs_vfs/tests/01-run.py
index d1e4987cf8..7cfe0457f8 100755
--- a/tests/pkg_fatfs_vfs/tests/01-run.py
+++ b/tests/pkg_fatfs_vfs/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/pkg_jsmn/tests/01-run.py b/tests/pkg_jsmn/tests/01-run.py
index 9a0bf6b013..950b33af29 100755
--- a/tests/pkg_jsmn/tests/01-run.py
+++ b/tests/pkg_jsmn/tests/01-run.py
@@ -1,6 +1,5 @@
 #!/usr/bin/env python3
 
-import os
 import sys
 
 
diff --git a/tests/pkg_libcoap/tests/01-run.py b/tests/pkg_libcoap/tests/01-run.py
index 657ff07365..a61abfffae 100755
--- a/tests/pkg_libcoap/tests/01-run.py
+++ b/tests/pkg_libcoap/tests/01-run.py
@@ -1,6 +1,5 @@
 #!/usr/bin/env python3
 
-import os
 import sys
 
 
diff --git a/tests/pkg_micro-ecc-with-hwrng/tests/01-run.py b/tests/pkg_micro-ecc-with-hwrng/tests/01-run.py
index 7167faa9c7..26ff33cb14 100755
--- a/tests/pkg_micro-ecc-with-hwrng/tests/01-run.py
+++ b/tests/pkg_micro-ecc-with-hwrng/tests/01-run.py
@@ -1,6 +1,5 @@
 #!/usr/bin/env python3
 
-import os
 import sys
 
 
diff --git a/tests/pkg_micro-ecc/tests/01-run.py b/tests/pkg_micro-ecc/tests/01-run.py
index 88ffb443ac..e4d6ef2c0b 100755
--- a/tests/pkg_micro-ecc/tests/01-run.py
+++ b/tests/pkg_micro-ecc/tests/01-run.py
@@ -1,6 +1,5 @@
 #!/usr/bin/env python3
 
-import os
 import sys
 
 
diff --git a/tests/pkg_minmea/tests/01-run.py b/tests/pkg_minmea/tests/01-run.py
index af4b043ffd..1600bbf7bd 100755
--- a/tests/pkg_minmea/tests/01-run.py
+++ b/tests/pkg_minmea/tests/01-run.py
@@ -1,6 +1,5 @@
 #!/usr/bin/env python3
 
-import os
 import sys
 
 
diff --git a/tests/pkg_monocypher/tests/01-run.py b/tests/pkg_monocypher/tests/01-run.py
index 7e0ce7ad4c..b750a448e4 100755
--- a/tests/pkg_monocypher/tests/01-run.py
+++ b/tests/pkg_monocypher/tests/01-run.py
@@ -7,7 +7,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/pkg_tiny-asn1/tests/01-run.py b/tests/pkg_tiny-asn1/tests/01-run.py
index 06d979766a..b582e3a664 100755
--- a/tests/pkg_tiny-asn1/tests/01-run.py
+++ b/tests/pkg_tiny-asn1/tests/01-run.py
@@ -7,7 +7,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/pkg_tinycbor/tests/01-run.py b/tests/pkg_tinycbor/tests/01-run.py
index 7b39d74443..525d41b06c 100755
--- a/tests/pkg_tinycbor/tests/01-run.py
+++ b/tests/pkg_tinycbor/tests/01-run.py
@@ -7,7 +7,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/pkg_tinycrypt/tests/01-run.py b/tests/pkg_tinycrypt/tests/01-run.py
index 4e1df03e2d..479d3d58ce 100755
--- a/tests/pkg_tinycrypt/tests/01-run.py
+++ b/tests/pkg_tinycrypt/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/pkg_u8g2/tests/01-run.py b/tests/pkg_u8g2/tests/01-run.py
index 796072098d..a9f4333a41 100755
--- a/tests/pkg_u8g2/tests/01-run.py
+++ b/tests/pkg_u8g2/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 EXPECTED_STDOUT = (
diff --git a/tests/pkg_ucglib/tests/01-run.py b/tests/pkg_ucglib/tests/01-run.py
index 2d7aa38066..92bf679764 100755
--- a/tests/pkg_ucglib/tests/01-run.py
+++ b/tests/pkg_ucglib/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 EXPECTED_STDOUT = (
diff --git a/tests/pkg_umorse/tests/01-run.py b/tests/pkg_umorse/tests/01-run.py
index 550cda48d6..cb8267ea59 100755
--- a/tests/pkg_umorse/tests/01-run.py
+++ b/tests/pkg_umorse/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/posix_semaphore/tests/01-run.py b/tests/posix_semaphore/tests/01-run.py
index 05d1154cc3..f702f67d13 100755
--- a/tests/posix_semaphore/tests/01-run.py
+++ b/tests/posix_semaphore/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/posix_time/tests/01-run.py b/tests/posix_time/tests/01-run.py
index 4d38bed1d9..86095f3d20 100755
--- a/tests/posix_time/tests/01-run.py
+++ b/tests/posix_time/tests/01-run.py
@@ -8,7 +8,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 import time
 
diff --git a/tests/ps_schedstatistics/tests/01-run.py b/tests/ps_schedstatistics/tests/01-run.py
index 751117e39a..3292007beb 100755
--- a/tests/ps_schedstatistics/tests/01-run.py
+++ b/tests/ps_schedstatistics/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 PS_EXPECTED = (
diff --git a/tests/pthread/tests/01-run.py b/tests/pthread/tests/01-run.py
index cf846ad84e..0b7896edf5 100755
--- a/tests/pthread/tests/01-run.py
+++ b/tests/pthread/tests/01-run.py
@@ -1,6 +1,5 @@
 #!/usr/bin/env python3
 
-import os
 import sys
 import math
 
diff --git a/tests/pthread_barrier/tests/01-run.py b/tests/pthread_barrier/tests/01-run.py
index ef724c76bf..7a7f4a9d28 100755
--- a/tests/pthread_barrier/tests/01-run.py
+++ b/tests/pthread_barrier/tests/01-run.py
@@ -1,6 +1,5 @@
 #!/usr/bin/env python3
 
-import os
 import sys
 
 
diff --git a/tests/pthread_cleanup/tests/01-run.py b/tests/pthread_cleanup/tests/01-run.py
index 31380dbf98..e8ccbd32f7 100755
--- a/tests/pthread_cleanup/tests/01-run.py
+++ b/tests/pthread_cleanup/tests/01-run.py
@@ -1,6 +1,5 @@
 #!/usr/bin/env python3
 
-import os
 import sys
 
 
diff --git a/tests/pthread_condition_variable/tests/01-run.py b/tests/pthread_condition_variable/tests/01-run.py
index efbc17d830..1b290d33f4 100755
--- a/tests/pthread_condition_variable/tests/01-run.py
+++ b/tests/pthread_condition_variable/tests/01-run.py
@@ -1,6 +1,5 @@
 #!/usr/bin/env python3
 
-import os
 import sys
 
 
diff --git a/tests/pthread_cooperation/tests/01-run.py b/tests/pthread_cooperation/tests/01-run.py
index 56ee6e0eee..6d28862051 100755
--- a/tests/pthread_cooperation/tests/01-run.py
+++ b/tests/pthread_cooperation/tests/01-run.py
@@ -1,6 +1,5 @@
 #!/usr/bin/env python3
 
-import os
 import sys
 
 
diff --git a/tests/pthread_rwlock/tests/01-run.py b/tests/pthread_rwlock/tests/01-run.py
index 414c8b52c6..f49fed0b95 100755
--- a/tests/pthread_rwlock/tests/01-run.py
+++ b/tests/pthread_rwlock/tests/01-run.py
@@ -1,6 +1,5 @@
 #!/usr/bin/env python3
 
-import os
 import sys
 
 
diff --git a/tests/pthread_tls/tests/01-run.py b/tests/pthread_tls/tests/01-run.py
index b21fb14666..ce97c472fe 100755
--- a/tests/pthread_tls/tests/01-run.py
+++ b/tests/pthread_tls/tests/01-run.py
@@ -1,6 +1,5 @@
 #!/usr/bin/env python3
 
-import os
 import sys
 
 
diff --git a/tests/rmutex/tests/01-run.py b/tests/rmutex/tests/01-run.py
index 17cacc1129..db8e72307f 100755
--- a/tests/rmutex/tests/01-run.py
+++ b/tests/rmutex/tests/01-run.py
@@ -8,7 +8,6 @@
 
 # Author: Martin Elshuber <martin.elshuber@theobroma-systems.com>
 
-import os
 import sys
 
 thread_prio = {
diff --git a/tests/rng/tests/01-run.py b/tests/rng/tests/01-run.py
index fc41328cbe..3be36d8212 100755
--- a/tests/rng/tests/01-run.py
+++ b/tests/rng/tests/01-run.py
@@ -7,7 +7,6 @@
 # directory for more details.
 
 import sys
-import os
 import re
 
 
diff --git a/tests/sched_testing/tests/01-run.py b/tests/sched_testing/tests/01-run.py
index 8bb0239ccb..e5ea3eefde 100755
--- a/tests/sched_testing/tests/01-run.py
+++ b/tests/sched_testing/tests/01-run.py
@@ -1,6 +1,5 @@
 #!/usr/bin/env python3
 
-import os
 import sys
 
 
diff --git a/tests/shell/tests/01-run.py b/tests/shell/tests/01-run.py
index cd5fabcd93..8dc399a49c 100755
--- a/tests/shell/tests/01-run.py
+++ b/tests/shell/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 EXPECTED_HELP = (
diff --git a/tests/sizeof_tcb/tests/01-run.py b/tests/sizeof_tcb/tests/01-run.py
index 6c754b72d7..3156496921 100755
--- a/tests/sizeof_tcb/tests/01-run.py
+++ b/tests/sizeof_tcb/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/ssp/tests/01-run.py b/tests/ssp/tests/01-run.py
index 868eb03418..2def877d0e 100755
--- a/tests/ssp/tests/01-run.py
+++ b/tests/ssp/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/struct_tm_utility/tests/01-run.py b/tests/struct_tm_utility/tests/01-run.py
index 8bd04d94ac..b9fb8939b1 100755
--- a/tests/struct_tm_utility/tests/01-run.py
+++ b/tests/struct_tm_utility/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 import calendar
 import datetime
diff --git a/tests/thread_basic/tests/01-run.py b/tests/thread_basic/tests/01-run.py
index 2864a30f46..32bb41585d 100755
--- a/tests/thread_basic/tests/01-run.py
+++ b/tests/thread_basic/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/thread_cooperation/tests/01-run.py b/tests/thread_cooperation/tests/01-run.py
index a7728af7d9..24cabc46ab 100755
--- a/tests/thread_cooperation/tests/01-run.py
+++ b/tests/thread_cooperation/tests/01-run.py
@@ -7,7 +7,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/thread_exit/tests/01-run.py b/tests/thread_exit/tests/01-run.py
index 432b4c99e0..6a7f96c9f8 100755
--- a/tests/thread_exit/tests/01-run.py
+++ b/tests/thread_exit/tests/01-run.py
@@ -1,6 +1,5 @@
 #!/usr/bin/env python3
 
-import os
 import sys
 
 
diff --git a/tests/thread_flags/tests/01-run.py b/tests/thread_flags/tests/01-run.py
index 38c978b5c2..e6551692ea 100755
--- a/tests/thread_flags/tests/01-run.py
+++ b/tests/thread_flags/tests/01-run.py
@@ -1,6 +1,5 @@
 #!/usr/bin/env python3
 
-import os
 import sys
 
 
diff --git a/tests/thread_flags_xtimer/tests/01-run.py b/tests/thread_flags_xtimer/tests/01-run.py
index 004984efd7..27d7e19e20 100755
--- a/tests/thread_flags_xtimer/tests/01-run.py
+++ b/tests/thread_flags_xtimer/tests/01-run.py
@@ -1,6 +1,5 @@
 #!/usr/bin/env python3
 
-import os
 import sys
 
 
diff --git a/tests/thread_flood/tests/01-run.py b/tests/thread_flood/tests/01-run.py
index 97c0dd1435..47615f813e 100755
--- a/tests/thread_flood/tests/01-run.py
+++ b/tests/thread_flood/tests/01-run.py
@@ -1,6 +1,5 @@
 #!/usr/bin/env python3
 
-import os
 import sys
 
 
diff --git a/tests/thread_msg/tests/01-run.py b/tests/thread_msg/tests/01-run.py
index be06a8afca..5a4ba9c34f 100755
--- a/tests/thread_msg/tests/01-run.py
+++ b/tests/thread_msg/tests/01-run.py
@@ -1,6 +1,5 @@
 #!/usr/bin/env python3
 
-import os
 import sys
 
 
diff --git a/tests/thread_msg_block_w_queue/tests/01-run.py b/tests/thread_msg_block_w_queue/tests/01-run.py
index 190c8d5cba..4b1633215d 100755
--- a/tests/thread_msg_block_w_queue/tests/01-run.py
+++ b/tests/thread_msg_block_w_queue/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/thread_msg_block_wo_queue/tests/01-run.py b/tests/thread_msg_block_wo_queue/tests/01-run.py
index 190c8d5cba..4b1633215d 100755
--- a/tests/thread_msg_block_wo_queue/tests/01-run.py
+++ b/tests/thread_msg_block_wo_queue/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/thread_msg_seq/tests/01-run.py b/tests/thread_msg_seq/tests/01-run.py
index f479800f60..a7e6bf016e 100755
--- a/tests/thread_msg_seq/tests/01-run.py
+++ b/tests/thread_msg_seq/tests/01-run.py
@@ -1,6 +1,5 @@
 #!/usr/bin/env python3
 
-import os
 import sys
 
 
diff --git a/tests/thread_race/tests/01-run.py b/tests/thread_race/tests/01-run.py
index 9768048891..4578367e59 100755
--- a/tests/thread_race/tests/01-run.py
+++ b/tests/thread_race/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/trace/tests/01-run.py b/tests/trace/tests/01-run.py
index 158a583a2b..6dc519a47e 100755
--- a/tests/trace/tests/01-run.py
+++ b/tests/trace/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/trickle/tests/01-run.py b/tests/trickle/tests/01-run.py
index 963f7c04a4..24960cf937 100755
--- a/tests/trickle/tests/01-run.py
+++ b/tests/trickle/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/unittests/tests/01-run.py b/tests/unittests/tests/01-run.py
index 56f8975f8e..76920e39d8 100755
--- a/tests/unittests/tests/01-run.py
+++ b/tests/unittests/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/xtimer_hang/tests/01-run.py b/tests/xtimer_hang/tests/01-run.py
index 765ebf5ba4..fe24604164 100755
--- a/tests/xtimer_hang/tests/01-run.py
+++ b/tests/xtimer_hang/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/xtimer_msg/tests/01-run.py b/tests/xtimer_msg/tests/01-run.py
index 9426896d22..3b185d7b32 100755
--- a/tests/xtimer_msg/tests/01-run.py
+++ b/tests/xtimer_msg/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/xtimer_msg_receive_timeout/tests/01-run.py b/tests/xtimer_msg_receive_timeout/tests/01-run.py
index 96f7bb5268..6d60d859ab 100755
--- a/tests/xtimer_msg_receive_timeout/tests/01-run.py
+++ b/tests/xtimer_msg_receive_timeout/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/xtimer_now64_continuity/tests/01-run.py b/tests/xtimer_now64_continuity/tests/01-run.py
index f4e9a5e08b..149f1ae426 100755
--- a/tests/xtimer_now64_continuity/tests/01-run.py
+++ b/tests/xtimer_now64_continuity/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/xtimer_periodic_wakeup/tests/01-run.py b/tests/xtimer_periodic_wakeup/tests/01-run.py
index e6d052b3c6..911894d443 100755
--- a/tests/xtimer_periodic_wakeup/tests/01-run.py
+++ b/tests/xtimer_periodic_wakeup/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/xtimer_remove/tests/01-run.py b/tests/xtimer_remove/tests/01-run.py
index ee0fa4fd41..452a8830c9 100755
--- a/tests/xtimer_remove/tests/01-run.py
+++ b/tests/xtimer_remove/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/xtimer_reset/tests/01-run.py b/tests/xtimer_reset/tests/01-run.py
index 67bb037a43..1576d4c54b 100755
--- a/tests/xtimer_reset/tests/01-run.py
+++ b/tests/xtimer_reset/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 
 
diff --git a/tests/xtimer_usleep/tests/01-run.py b/tests/xtimer_usleep/tests/01-run.py
index b72f052b1e..f2d85f5b94 100755
--- a/tests/xtimer_usleep/tests/01-run.py
+++ b/tests/xtimer_usleep/tests/01-run.py
@@ -9,7 +9,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 import time
 
diff --git a/tests/xtimer_usleep_short/tests/01-run.py b/tests/xtimer_usleep_short/tests/01-run.py
index 86a0038eff..8af1779d4e 100755
--- a/tests/xtimer_usleep_short/tests/01-run.py
+++ b/tests/xtimer_usleep_short/tests/01-run.py
@@ -6,7 +6,6 @@
 # General Public License v2.1. See the file LICENSE in the top level
 # directory for more details.
 
-import os
 import sys
 import pexpect
 
-- 
GitLab