[pypy-svn] r9969 - pypy/dist/pypy/lib/test2

briandorsey at codespeak.net briandorsey at codespeak.net
Mon Mar 21 00:26:27 CET 2005


Author: briandorsey
Date: Mon Mar 21 00:26:27 2005
New Revision: 9969

Added:
   pypy/dist/pypy/lib/test2/test_optparse.py
      - copied, changed from r9954, pypy/dist/lib-python-2.3.4/test/test_optparse.py
Log:
Small change in test_optparse.py - one test relied on the order of dict keys.



Copied: pypy/dist/pypy/lib/test2/test_optparse.py (from r9954, pypy/dist/lib-python-2.3.4/test/test_optparse.py)
==============================================================================
--- pypy/dist/lib-python-2.3.4/test/test_optparse.py	(original)
+++ pypy/dist/pypy/lib/test2/test_optparse.py	Mon Mar 21 00:26:27 2005
@@ -164,8 +164,9 @@
                                "must start with --, followed by non-dash",
                                ["---"])
 
+    # this test originally relied on the order of dict keys.
     def test_attr_invalid(self):
-        self.assertOptionError("invalid keyword arguments: foo, bar",
+        self.assertOptionError("invalid keyword arguments:",
                                ["-b"], {'foo': None, 'bar': None})
 
     def test_action_invalid(self):



More information about the Pypy-commit mailing list