diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-05-30 10:37:45 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-05-31 16:56:25 +0100 |
commit | 2ff7af74bc84c2132af00c0fda78ef00c4e5fcbc (patch) | |
tree | 4c170e08d4b2c5e930ba5adda500af1e78e257f4 /bitbake/lib/hashserv/tests.py | |
parent | 277e07d1cc83abf66c9088e4a5d9594b2603492d (diff) | |
download | poky-2ff7af74bc84c2132af00c0fda78ef00c4e5fcbc.tar.gz |
bitbake: bitbake: Drop older python version compatibility code
cooker: We can call multiprocessing close() unconditionally and tweak a
comment give 3.8 is now the minimum version.
lib/bb: We can drop the logger addition code only needed before 3.6
asyncrpc/hashserv: Since the minimum version is 3.8, we can drop the
conditional code.
(Bitbake rev: 16f4386400f88ba50605307961c248bef09895c1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/hashserv/tests.py')
-rw-r--r-- | bitbake/lib/hashserv/tests.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/bitbake/lib/hashserv/tests.py b/bitbake/lib/hashserv/tests.py index 5349cd5867..cf74d9de7e 100644 --- a/bitbake/lib/hashserv/tests.py +++ b/bitbake/lib/hashserv/tests.py | |||
@@ -94,9 +94,6 @@ class HashEquivalenceTestSetup(object): | |||
94 | return self.start_client(self.auth_server_address, user["username"], user["token"]) | 94 | return self.start_client(self.auth_server_address, user["username"], user["token"]) |
95 | 95 | ||
96 | def setUp(self): | 96 | def setUp(self): |
97 | if sys.version_info < (3, 5, 0): | ||
98 | self.skipTest('Python 3.5 or later required') | ||
99 | |||
100 | self.temp_dir = tempfile.TemporaryDirectory(prefix='bb-hashserv') | 97 | self.temp_dir = tempfile.TemporaryDirectory(prefix='bb-hashserv') |
101 | self.addCleanup(self.temp_dir.cleanup) | 98 | self.addCleanup(self.temp_dir.cleanup) |
102 | 99 | ||