Skip to content

Win32 and PyPy test mismatched output #151

@ghost

Description

Originally reported by: philip_thiem (Bitbucket: philip_thiem, GitHub: Unknown)


Under both windows and noth pypy 1.9 and 2.1-beta1

I used

c:\pypy-1.9\pypy.exe setup.py tests

to get

FAIL: C:\development\setuptools\setuptools\tests\win_script_wrapper.txt
Doctest: win_script_wrapper.txt
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\development\setuptools\setuptools\tests\doctest.py", line 2167, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for win_script_wrapper.txt
  File "C:\development\setuptools\setuptools\tests\win_script_wrapper.txt", line 0

----------------------------------------------------------------------
File "C:\development\setuptools\setuptools\tests\win_script_wrapper.txt", line 100, in win_script_wrapper.txt
Failed example:
    bytes = sys.stdout.write(stdout.decode('ascii').replace('\r\n', '\n'))
Expected:
    \foo-script.py
    []
    ''
    ---
Got:
    \foo-script.py
    []
    ''
    non-optimized
    And now for something completely different: ``' ' is a space too''
    ---

I think everything is ok, just that the wrong output is given


Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions