diff options
Diffstat (limited to 'pytests/powertest.py')
-rwxr-xr-x | pytests/powertest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pytests/powertest.py b/pytests/powertest.py index 31492116e3d..37b60a9bd58 100755 --- a/pytests/powertest.py +++ b/pytests/powertest.py @@ -180,7 +180,7 @@ def register_signal_handler(handler): if _IS_WINDOWS: # Create unique event_name. - event_name = "Global\\Mongo_Python_%d".format(os.getpid()) + event_name = "Global\\Mongo_Python_{:d}".format(os.getpid()) LOGGER.debug("Registering event %s", event_name) try: |