Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pypy pypy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 674
    • Issues 674
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PyPy
  • pypypypy
  • Merge requests
  • !743

WIP: Get rid of assert reinterpretation in rpython tests

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Ronan Lamy requested to merge branch/assert-rewrite into branch/default Jul 22, 2020
  • Overview 6
  • Commits 17
  • Pipelines 2
  • Changes 60

Assert reinterpretation has long been deprecated in pytest and was removed in version 3.0. This branch allows rpython tests to run with assert rewriting by adding rpython.rlib.objectmodel.assert_(), which behaves like an RPython assert statement but doesn't get rewritten by pytest.

Fixing the test suite is then just a matter of mechanically replacing all asserts in RPython functions defined in test files by this new assert_() function.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: branch/assert-rewrite