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

GH-98831: Add some tests for generate_cases.py by gvanrossum · Pull Request #100763 · python/cpython · GitHub

/ cpython Public

GH-98831: Add some tests for generate_cases.py - #100763

Merged
gvanrossum merged 3 commits into
python:mainfrom
gvanrossum:cases-test
Jan 6, 2023
Merged

GH-98831: Add some tests for generate_cases.py#100763
gvanrossum merged 3 commits into
python:mainfrom
gvanrossum:cases-test

Conversation

gvanrossum commented Jan 5, 2023
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member
  • This doesn't cover everything (far from it) but it's a start.
  • This uses pytest, which isn't ideal, but was quickest to get started.

gvanrossum requested a review from iritkatriel January 5, 2023 00:11
bedevere-bot added the tests Tests in the Lib/test dir label Jan 5, 2023
Comment thread Tools/cases_generator/test_generator.py Outdated
Comment thread Tools/cases_generator/test_generator.py Outdated
import generate_cases


def run_test(input: str, expected: str):

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

Maybe run_cases_test, because we will also have a run_metadata test?

gvanrossum and others added 3 commits January 5, 2023 14:09
- This doesn't cover everything (far from it) but it's a start.
- This uses pytest, which isn't ideal, but was quickest to get started.
In anticipation of run_opcode_test().
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>

Copy link
Copy Markdown
Member Author

Ready for review again.

gvanrossum merged commit 9ffbc58 into python:main Jan 6, 2023
gvanrossum deleted the cases-test branch January 6, 2023 16:04
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

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL