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 not working with python 3.8.2 #5

Open
mahesh557 opened this issue Jun 11, 2022 · 0 comments
Open

Test not working with python 3.8.2 #5

mahesh557 opened this issue Jun 11, 2022 · 0 comments

Comments

@mahesh557
Copy link

mahesh557 commented Jun 11, 2022

Hi, Getting below error

$ python breeder.py test/testing/ test/__main__.py >big-snake.py
Traceback (most recent call last):
  File "breeder.py", line 258, in <module>
    print(breed(fn, (fn == args[-1]), gtk_images=gtk_images, compress=compress))
  File "breeder.py", line 210, in breed
    return breed_dir(fn, main,
  File "breeder.py", line 198, in breed_dir
    bred = breed(fn, ismain,
  File "breeder.py", line 217, in breed
    return breed_python(fn, main, gtk_images=gtk_images, compress=compress)
  File "breeder.py", line 108, in breed_python
    pre, lines, post = format_snake(fn, raw=main, compress=compress)
  File "breeder.py", line 99, in format_snake
    lines = [l.replace('\n', '')
  File "breeder.py", line 99, in <listcomp>
    lines = [l.replace('\n', '')
TypeError: a bytes-like object is required, not 'str'
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

1 participant