FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update test_cmd_line from Cpython v3.11.2 by Masorubka1 · Pull Request #4801 · RustPython/RustPython · GitHub

Update test_cmd_line from Cpython v3.11.2 - #4801

Merged
DimitrisJim merged 5 commits into
RustPython:mainfrom
Masorubka1:test_cmd_line
Apr 9, 2023
Merged

Update test_cmd_line from Cpython v3.11.2#4801
DimitrisJim merged 5 commits into
RustPython:mainfrom
Masorubka1:test_cmd_line

Conversation

Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Member

A couple of successes:

UNEXPECTED SUCCESS: test_optimize (test.test_cmd_line.CmdLineTest.test_optimize)
UNEXPECTED SUCCESS: test_output_newline (test.test_cmd_line.CmdLineTest.test_output_newline)
UNEXPECTED SUCCESS: test_site_flag (test.test_cmd_line.CmdLineTest.test_site_flag)

and a couple of failures:

FAIL: test_tokenizer_error_with_stdin (test.test_cmd_line.SyntaxErrorTests.test_tokenizer_error_with_stdin)
FAIL: test_decoding_error_at_the_end_of_the_line (test.test_cmd_line.SyntaxErrorTests.test_decoding_error_at_the_end_of_the_line)
FAIL: test_xoption_frozen_modules (test.test_cmd_line.CmdLineTest.test_xoption_frozen_modules) []
FAIL: test_xoption_frozen_modules (test.test_cmd_line.CmdLineTest.test_xoption_frozen_modules) [=]
FAIL: test_xoption_frozen_modules (test.test_cmd_line.CmdLineTest.test_xoption_frozen_modules) [=on]
FAIL: test_int_max_str_digits (test.test_cmd_line.CmdLineTest.test_int_max_str_digits)
FAIL: test_help_xoptions (test.test_cmd_line.CmdLineTest.test_help_xoptions)
FAIL: test_help_env (test.test_cmd_line.CmdLineTest.test_help_env)
FAIL: test_help_all (test.test_cmd_line.CmdLineTest.test_help_all)
FAIL: test_help (test.test_cmd_line.CmdLineTest.test_help)
ERROR: test_non_interactive_output_buffering (test.test_cmd_line.CmdLineTest.test_non_interactive_output_buffering)

Comment thread Lib/test/test_cmd_line.py
b"'abc\\n'")

# TODO: RUSTPYTHON
@unittest.skipIf(sys.platform.startswith('win'), "TODO: RUSTPYTHON windows has \n troubles")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I think other tests are marked TODO: RUSTPYTHON, universal newlines, but I like this description better, as it's a clearer statement of the problem.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Nice, this can probably be opened as an issue, seems like it wouldn't be too difficult to fix.

Copy link
Copy Markdown
Member

2 more windows issues

FAIL: test_output_newline (test.test_cmd_line.CmdLineTest.test_output_newline)
FAIL: test_stdin_readline (test.test_cmd_line.CmdLineTest.test_stdin_readline)

DimitrisJim left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

thanks! lgtm!

DimitrisJim merged commit f39f103 into RustPython:main Apr 9, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL