type-test generation for subscripted `datetime64` and `timedelta64` operands
Open
Nobody has claimed this yet.
numpy.generic
topic: testing
- Dominant language
- Python
- Stars
- 79
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
Generate type-tests for all combinations of datetime64[{None, int, datetime, date, <default>}] and timedelta64[{None, int, timedeta, <default>}] for each of the relevant binary operators.
So e,g, one of them will verify that timedelta64[None].__add__(datetime64) -> datetime64[None]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test path is named; first locate the existing type-test generation for datetime64 and timedelta64 operands and identify the relevant binary operators. Add coverage for the stated None, int, datetime, date, and default combinations, then verify each expected result type, including the given timedelta64.add example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100