[pypy-svn] r55965 - pypy/branch/2.5-features/pypy/translator/goal/test2

cfbolz at codespeak.net cfbolz at codespeak.net
Thu Jun 19 17:55:55 CEST 2008


Author: cfbolz
Date: Thu Jun 19 17:55:49 2008
New Revision: 55965

Modified:
   pypy/branch/2.5-features/pypy/translator/goal/test2/test_app_main.py
Log:
failing test for the -W option


Modified: pypy/branch/2.5-features/pypy/translator/goal/test2/test_app_main.py
==============================================================================
--- pypy/branch/2.5-features/pypy/translator/goal/test2/test_app_main.py	(original)
+++ pypy/branch/2.5-features/pypy/translator/goal/test2/test_app_main.py	Thu Jun 19 17:55:49 2008
@@ -345,6 +345,10 @@
         data = self.run('-Wc')
         assert "Invalid -W option ignored: invalid action: 'c'" in data
 
+    def test_option_W_arg_ignored2(self):
+        data = self.run('-W-W')
+        assert "Invalid -W option ignored: invalid action:" in data
+
     def test_option_c(self):
         data = self.run('-c "print 6**5"')
         assert '7776' in data



More information about the Pypy-commit mailing list