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

Test failures #11

Closed
jsmolic opened this issue Sep 18, 2020 · 2 comments
Closed

Test failures #11

jsmolic opened this issue Sep 18, 2020 · 2 comments

Comments

@jsmolic
Copy link

jsmolic commented Sep 18, 2020

Hello, tests are failing on Gentoo Linux (downstream bug -> https://bugs.gentoo.org/728610) .

  File "./test.py", line 29
    print "Running with %s" % all_args
                          ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Running with %s" % all_args)?
FAIL test.py (exit status: 1)

After tI fixed that up, came

Running with -1  45879 ::1 44199
Traceback (most recent call last):
  File "./test.py", line 116, in <module>
    test(SUCCESS, socket.AF_INET, socket.AF_INET6, '127.0.0.1', '::1')
  File "./test.py", line 58, in test
    client_sock.send(client_sends_first)
TypeError: a bytes-like object is required, not 'str'

and after that

Running with -1  39417 ::1 36691
Traceback (most recent call last):
  File "./test.py", line 116, in <module>
    test(SUCCESS, socket.AF_INET, socket.AF_INET6, '127.0.0.1', '::1')
  File "./test.py", line 66, in test
    raise Exception("expected %s yet accept failed" % labels[expect])
Exception: expected success yet accept failed

Could you please take a look at these?
Thanks!

@wojtekka
Copy link
Owner

I moved the test script to Python 3. Are you able to test the master branch before I release it?

@jsmolic
Copy link
Author

jsmolic commented Sep 19, 2020

Thanks, this works for me now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants