Skip to content

gh-1144: Alias xbp and urngb to xp and urng in regression tests#1146

Open
connoraird wants to merge 4 commits into
mainfrom
connor/issue-1144
Open

gh-1144: Alias xbp and urngb to xp and urng in regression tests#1146
connoraird wants to merge 4 commits into
mainfrom
connor/issue-1144

Conversation

@connoraird

Copy link
Copy Markdown
Contributor

Description

Changes xpb and urngb to xp and urng respectively in regression tests to reduce confusion when swapping between core and regression tests.

Closes: #1144

Checks

  • Is your code passing linting?
  • Is your code passing tests?
  • Have you added additional tests (if required)?
  • Have you modified/extended the documentation (if required)?
  • Have you added a one-liner changelog entry above (if required)?

@connoraird connoraird self-assigned this Jun 23, 2026
@connoraird connoraird added array-api Work is related to the Array API benchmarks Benchmarking work labels Jun 23, 2026
@connoraird connoraird changed the title Alias xbp and urngb to xp and urng in regression tests gh-1144: Alias xbp and urngb to xp and urng in regression tests Jun 23, 2026
Comment on lines +15 to +18
@pytest.fixture
def xp(xpb: ModuleType) -> ModuleType:
"""Alias of Fixture for array backend to be used in regression tests."""
return xpb

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.

Why not just move xpb here and rename it to xp?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

array-api Work is related to the Array API benchmarks Benchmarking work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Alias xpb in regression tests to xp

2 participants