diff options
-rw-r--r-- | cherrypy/test/test_wsgi_unix_socket.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cherrypy/test/test_wsgi_unix_socket.py b/cherrypy/test/test_wsgi_unix_socket.py index 0e98a4c5..0a552bc5 100644 --- a/cherrypy/test/test_wsgi_unix_socket.py +++ b/cherrypy/test/test_wsgi_unix_socket.py @@ -2,6 +2,7 @@ import os import sys import socket import atexit +import tempfile import cherrypy from cherrypy.test import helper @@ -9,7 +10,7 @@ from cherrypy._cpcompat import HTTPConnection USOCKET_PATH = os.path.join( - os.path.dirname(os.path.realpath(__file__)), + tempfile.gettempdir(), 'cp_test.sock' ) |