From 6f6de308e3ade9a262308297f0a96af261c9dde5 Mon Sep 17 00:00:00 2001 From: Philip Thiem Date: Sat, 16 Feb 2013 11:34:11 -0600 Subject: Backout the pkg_resources.py fix --HG-- branch : distribute extra : rebase_source : d144d2afc763c9ed6420d32bad3015075d265226 --- setuptools/tests/win_script_wrapper.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'setuptools/tests') diff --git a/setuptools/tests/win_script_wrapper.txt b/setuptools/tests/win_script_wrapper.txt index 82719273..3dc725c8 100644 --- a/setuptools/tests/win_script_wrapper.txt +++ b/setuptools/tests/win_script_wrapper.txt @@ -54,11 +54,12 @@ the wrapper: ... + r' arg1 "arg 2" "arg \"2\\\"" "arg 4\\" "arg5 a\\b"') >>> input.write('hello\nworld\n') >>> input.close() - >>> print(output.read(),) + >>> print(output.read()) \foo-script.py ['arg1', 'arg 2', 'arg "2\\"', 'arg 4\\', 'arg5 a\\\\b'] 'hello\nworld\n' non-optimized + This example was a little pathological in that it exercised windows (MS C runtime) quoting rules: @@ -97,11 +98,12 @@ enter the interpreter after running the script, you could use -Oi: >>> input, output = os.popen4(nt_quote_arg(os.path.join(sample_directory, 'foo.exe'))) >>> input.close() - >>> print(output.read(),) + >>> print(output.read()) \foo-script.py [] '' --- + Testing the GUI Version ----------------------- -- cgit v1.2.3