summaryrefslogtreecommitdiff
path: root/pytests/powertest.py
diff options
context:
space:
mode:
Diffstat (limited to 'pytests/powertest.py')
-rwxr-xr-xpytests/powertest.py2
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: