[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. 4da91f1a288e81132482b
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: n0nb <n0...@us...> - 2025-07-22 21:20:20
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Hamlib -- Ham radio control libraries". The branch, master has been updated via 4da91f1a288e81132482be23c298c41ff062cfe9 (commit) from df95e939400897bb4dcb5ac50abb5abacb7ecb99 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 4da91f1a288e81132482be23c298c41ff062cfe9 Author: Michael Morgan <844...@us...> Date: Mon Jul 7 12:32:56 2025 -0500 Use alternate quoting for older Python versions Since Python 3.12, strings such as: f"test_{object_name.replace(".", "_")}_class.py" are allowed but older versions require single quotes around the dot and underscore within the double quoted string. Should quell CI error on Ubuntu Noble. diff --git a/bindings/python/generate_tests.py b/bindings/python/generate_tests.py index 068a8346c..e629e9716 100755 --- a/bindings/python/generate_tests.py +++ b/bindings/python/generate_tests.py @@ -59,7 +59,7 @@ DO NOT EDIT this autogenerated file, run "make generate-pytests" instead """ import Hamlib ''' - filename = f"test_{object_name.replace(".", "_")}_class.py" + filename = f"test_{object_name.replace('.', '_')}_class.py" class_source = inspect.getsource(TestClass) expected_callables = repr(callables).replace(" ", "\n") expected_properties = repr(properties).replace(" ", "\n") ----------------------------------------------------------------------- Summary of changes: bindings/python/generate_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |