From 7bbcee3cf09a08199b3ffefb6c5e37208cba5f0a Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 18 Jan 2024 16:32:31 +1100 Subject: tests: Move port-specific test directories into tests/ports/ directory. To keep them all together, mirroring the top-level directory structure. Signed-off-by: Damien George --- tests/unix/mod_os.py | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 tests/unix/mod_os.py (limited to 'tests/unix/mod_os.py') diff --git a/tests/unix/mod_os.py b/tests/unix/mod_os.py deleted file mode 100644 index f69fa45b2..000000000 --- a/tests/unix/mod_os.py +++ /dev/null @@ -1,21 +0,0 @@ -# This module is not entirely compatible with CPython -import os - - -os.putenv("TEST_VARIABLE", "TEST_VALUE") - -print(os.getenv("TEST_VARIABLE")) -print(os.getenv("TEST_VARIABLE", "TEST_DEFAULT_VALUE")) - -os.unsetenv("TEST_VARIABLE") - -print(os.getenv("TEST_VARIABLE")) -print(os.getenv("TEST_VARIABLE", "TEST_DEFAULT_VALUE")) - -print(os.system("exit 0")) - -rand = os.urandom(4) -print(type(rand) is bytes, len(rand)) - -os.errno(2) -print(os.errno()) -- cgit v1.2.3