You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_python-commits@quetz.apache.org by nl...@apache.org on 2005/01/20 15:24:04 UTC
svn commit: r125772 - /httpd/mod_python/trunk/test/htdocs/tests.py
Author: nlehuen
Date: Thu Jan 20 06:24:01 2005
New Revision: 125772
URL: http://svn.apache.org/viewcvs?view=rev&rev=125772
Log:
Made sure that different hashing policies on different platforms or Python implementations won't break the PythonOption tests by a modification of the items() ordering.
Modified:
httpd/mod_python/trunk/test/htdocs/tests.py
Modified: httpd/mod_python/trunk/test/htdocs/tests.py
Url: http://svn.apache.org/viewcvs/httpd/mod_python/trunk/test/htdocs/tests.py?view=diff&rev=125772&p1=httpd/mod_python/trunk/test/htdocs/tests.py&r1=125771&p2=httpd/mod_python/trunk/test/htdocs/tests.py&r2=125772
==============================================================================
--- httpd/mod_python/trunk/test/htdocs/tests.py (original)
+++ httpd/mod_python/trunk/test/htdocs/tests.py Thu Jan 20 06:24:01 2005
@@ -815,7 +815,9 @@
return apache.OK
def PythonOption_items(req):
- req.write(str(req.get_options().items()))
+ options = req.get_options().items()
+ options.sort()
+ req.write(str(options))
return apache.OK
def _test_table():