Skip to content

Conversation

@vstinner
Copy link
Member

@vstinnervstinner commented Sep 8, 2023

  • main() now calls _parse_args() and pass 'ns' to Regrtest constructor. Remove kwargs argument from Regrtest.main().
  • _parse_args() checks ns.huntrleaks.
  • set_temp_dir() is now responsible to call expanduser().
  • Regrtest.main() sets self.tests earlier.
  • Add TestTuple and TestList types.
  • Rename MatchTests to MatchTestList and rename MatchTestsDict to MatchTestDict.
  • RunTests.tests type becomes TestTuple.

* main() now calls _parse_args() and pass 'ns' to Regrtest constructor. Remove kwargs argument from Regrtest.main(). * _parse_args() checks ns.huntrleaks. * set_temp_dir() is now responsible to call expanduser(). * Regrtest.main() sets self.tests earlier. * Add TestTuple and TestList types. * Rename MatchTests to FilterTuple and rename MatchTestsDict to FilterTestDict. * TestResult.get_rerun_match_tests() return type is now FilterTuple: return a tuple instead of a list. RunTests.tests type becomes TestTuple.
@vstinnervstinner disabled auto-merge September 8, 2023 22:09
@vstinnervstinner enabled auto-merge (squash) September 8, 2023 22:26
@vstinnervstinner disabled auto-merge September 8, 2023 22:40
@vstinnervstinner enabled auto-merge (squash) September 8, 2023 22:40
@vstinnervstinner merged commit 5b7303e into python:mainSep 8, 2023
@vstinnervstinner deleted the regrtest_refactor1 branch September 8, 2023 22:41
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@vstinner@bedevere-bot