Commit a011aa8e authored by Jason R. Coombs's avatar Jason R. Coombs

Updated tests of win_script_wrapper to use 32-bit wrappers

--HG--
branch : distribute
extra : source : 26421e9ba211b7e14171673c46c45692b6c8501d
parent e16d0f58
...@@ -38,7 +38,7 @@ We'll also copy cli.exe to the sample-directory with the name foo.exe: ...@@ -38,7 +38,7 @@ We'll also copy cli.exe to the sample-directory with the name foo.exe:
>>> import pkg_resources >>> import pkg_resources
>>> f = open(os.path.join(sample_directory, 'foo.exe'), 'wb') >>> f = open(os.path.join(sample_directory, 'foo.exe'), 'wb')
>>> f.write( >>> f.write(
... pkg_resources.resource_string('setuptools', 'cli.exe') ... pkg_resources.resource_string('setuptools', 'cli-32.exe')
... ) ... )
>>> f.close() >>> f.close()
...@@ -83,7 +83,7 @@ enter the interpreter after running the script, you could use -Oi: ...@@ -83,7 +83,7 @@ enter the interpreter after running the script, you could use -Oi:
>>> f = open(os.path.join(sample_directory, 'foo-script.py'), 'w') >>> f = open(os.path.join(sample_directory, 'foo-script.py'), 'w')
>>> f.write( >>> f.write(
... """#!%(python_exe)s -Oi ... """#!%(python_exe)s -Oi
... import sys ... import sys
... input = repr(sys.stdin.read()) ... input = repr(sys.stdin.read())
... print sys.argv[0][-14:] ... print sys.argv[0][-14:]
...@@ -126,7 +126,7 @@ We'll also copy gui.exe to the sample-directory with the name bar.exe: ...@@ -126,7 +126,7 @@ We'll also copy gui.exe to the sample-directory with the name bar.exe:
>>> import pkg_resources >>> import pkg_resources
>>> f = open(os.path.join(sample_directory, 'bar.exe'), 'wb') >>> f = open(os.path.join(sample_directory, 'bar.exe'), 'wb')
>>> f.write( >>> f.write(
... pkg_resources.resource_string('setuptools', 'gui.exe') ... pkg_resources.resource_string('setuptools', 'gui-32.exe')
... ) ... )
>>> f.close() >>> f.close()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment