From f7e1adeb18338c077b27720c4a8283636d942e79 Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Mon, 15 Jun 2009 14:56:18 +0700 Subject: [PATCH] with_timeout.py: use os.tmpnam() --- greentest/with_timeout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/greentest/with_timeout.py b/greentest/with_timeout.py index dd8fa03..1eef6a9 100755 --- a/greentest/with_timeout.py +++ b/greentest/with_timeout.py @@ -51,7 +51,7 @@ except NameError: try: CURRENT_TEST_FILENAME except NameError: - CURRENT_TEST_FILENAME = '/tmp/eventlet-test-repeat-run.%s' % os.getpid() + CURRENT_TEST_FILENAME = os.tmpnam() class Alarm(Exception): pass