Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

review tests on Windows #11

Open
christian-korneck opened this issue Jun 3, 2022 · 2 comments
Open

review tests on Windows #11

christian-korneck opened this issue Jun 3, 2022 · 2 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@christian-korneck
Copy link
Collaborator

some tests aren't working on Windows, probably never have.

@christian-korneck christian-korneck added bug Something isn't working enhancement New feature or request labels Jun 3, 2022
@RolandMa1986
Copy link

RolandMa1986 commented Aug 5, 2022

Hi @christian-korneck,

I found 3 issues when running test ong windows. But I'm not sure whether it's a environment or os specific for the first two issues.

  1. getvalue method can't be found on windows

    result := stdout.CallMethodArgs("getvalue")

  2. I got a PyExc_KeyboardInterrupt which don't match PyExc_TypeError.

    assert.True(t, PyErr_GivenExceptionMatches(exc, PyExc_TypeError))

  3. File path is diffrent. This issue can be fixed by trim "/"

    assert.True(t, strings.HasSuffix(filename, "/queue.py"))

@christian-korneck
Copy link
Collaborator Author

thanks, would love to see PRs to fix these.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants