aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests/samplebinding/python_thread_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/tests/samplebinding/python_thread_test.py')
-rw-r--r--sources/shiboken6/tests/samplebinding/python_thread_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/shiboken6/tests/samplebinding/python_thread_test.py b/sources/shiboken6/tests/samplebinding/python_thread_test.py
index ca0508182..7b5b773e8 100644
--- a/sources/shiboken6/tests/samplebinding/python_thread_test.py
+++ b/sources/shiboken6/tests/samplebinding/python_thread_test.py
@@ -64,7 +64,7 @@ class Producer(threading.Thread):
value = int(random()*10) % 10
self.bucket.push(value)
self.production_list.append(value)
- logging.debug('PRODUCER - pushed %d' % value)
+ logging.debug(f'PRODUCER - pushed {value}')
self.runs += 1
#self.msleep(5)
time.sleep(0.01)
@@ -85,7 +85,7 @@ class Consumer(threading.Thread):
if not self.bucket.empty():
value = self.bucket.pop()
self.consumption_list.append(value)
- logging.debug('CONSUMER - got %d' % value)
+ logging.debug(f'CONSUMER - got {value}')
self.runs += 1
else:
logging.debug('CONSUMER - empty bucket')