Revision: 6152
http://jython.svn.sourceforge.net/jython/?rev=6152&view=rev
Author: pjenvey
Date: 2009-04-03 05:54:58 +0000 (Fri, 03 Apr 2009)
Log Message:
-----------
test for r6149
Modified Paths:
--------------
trunk/jython/Lib/test/test_subprocess.py
Modified: trunk/jython/Lib/test/test_subprocess.py
===================================================================
--- trunk/jython/Lib/test/test_subprocess.py 2009-04-03 01:41:38 UTC (rev 6151)
+++ trunk/jython/Lib/test/test_subprocess.py 2009-04-03 05:54:58 UTC (rev 6152)
@@ -697,6 +697,10 @@
[sys.executable,
"-c", "import sys; sys.exit(47)"],
preexec_fn=lambda: 1)
+ # invalid command line args should raise TypeError
+ self.assertRaises(TypeError, subprocess.call,
+ [sys.executable,
+ "-c", 1])
def test_main():
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|