Commit 3cc9fde1 authored by Guido van Rossum's avatar Guido van Rossum

The log filename may also be set with EVENT_LOG_FILE. Set both.

parent 07652619
...@@ -155,6 +155,7 @@ class StartTests(unittest.TestCase): ...@@ -155,6 +155,7 @@ class StartTests(unittest.TestCase):
logfile1 = tempfile.mktemp(suffix="log") logfile1 = tempfile.mktemp(suffix="log")
logfile2 = tempfile.mktemp(suffix="log") logfile2 = tempfile.mktemp(suffix="log")
os.environ["STUPID_LOG_FILE"] = logfile1 os.environ["STUPID_LOG_FILE"] = logfile1
os.environ["EVENT_LOG_FILE"] = logfile1
try: try:
outp = self.fork("-s", "-p", str(port)) outp = self.fork("-s", "-p", str(port))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment