We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 118abde commit d1af504Copy full SHA for d1af504
1 file changed
Lib/test/test_winreg.py
@@ -344,7 +344,7 @@ def run(self):
344
result, typ = QueryValueEx(key, 'test_value')
345
# The result must be one of the written values,
346
# not garbage data from uninitialized buffer
347
- self.assertIn(result, values, f"QueryValueEx returned unexpected value: {result!r}")
+ self.assertIn(result, values)
348
finally:
349
done = True
350
thread.join()
0 commit comments