Skip to content

Commit d1af504

Browse files
Update Lib/test/test_winreg.py
1 parent 118abde commit d1af504

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_winreg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ def run(self):
344344
result, typ = QueryValueEx(key, 'test_value')
345345
# The result must be one of the written values,
346346
# not garbage data from uninitialized buffer
347-
self.assertIn(result, values, f"QueryValueEx returned unexpected value: {result!r}")
347+
self.assertIn(result, values)
348348
finally:
349349
done = True
350350
thread.join()

0 commit comments

Comments
 (0)