The cookies test should be using tempfile.mkstemp instead of tempfile.mktemp.
One example of using the tempfile.mktemp method is TempfileTestMixin in test/test_cookies.py. tempfile.mktemp - as per [0] , it is Deprecated since version 2.3: Use mkstemp() instead.
The cookies test should be using tempfile.mkstemp instead of tempfile.mktemp. One example of using the tempfile.mktemp method is TempfileTestMixin in test/test_cookies.py. tempfile.mktemp - as per [0] , it is Deprecated since version 2.3: Use mkstemp() instead.
[0] - http://docs.python.org/library/tempfile.html#tempfile.mktemp