GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Test reflected operators? · Issue #460 · data-apis/array-api-tests

Test reflected operators? #460

New issue
Copy link
New issue
Copy link
Open
Open
Test reflected operators?#460
Copy link

Description

@mdhaber
mdhaber
opened on Aug 29, 2026
Issue body actions

The standard specifies that reflected operators must be defined, but AFAICT, there aren't tests here that cover them. I noticed because I removed __rtruediv__, __rfloordiv__, and __rmod__ from mparray while fixing division by zero issues, but but no tests failed as a result.

Activity

  1. ev-br commented on Aug 30, 2026

    @ev-br
    ev-br
    on Aug 30, 2026
    Member
    More actions

    Great spot!
    Indeed, https://github.com/data-apis/array-api-tests/blob/master/array_api_tests/test_operators_and_elementwise_functions.py#L606-L615 does not include __r{op}__s. Wow.

  2. ev-br commented on Oct 26, 2026

    @ev-br
    ev-br
    on Oct 26, 2026
    Member
    More actions

    Some minimal testing added in gh-471, follow-up improvements tracked in the umbrella tracker issue gh-301.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.