Skip to content

Add tests for tai calendar - #389

Merged
jswhit merged 2 commits into
Unidata:taifrom
ChrisBarker-NOAA:tai-chb
Jan 9, 2026
Merged

jswhit merged 2 commits into
Unidata:taifrom
ChrisBarker-NOAA:tai-chb

Conversation

@ChrisBarker-NOAA

Copy link
Copy Markdown
Contributor

I've added a (I think) complete set of tests for the tai calendar. I can't (quickly) figure out how to get coverage to work with Cython, so I'm only guessing, but I looked for 'tai' in the source, and tested all that I could find.

It only tests what's unique about tai, assuming the gregorian is already well tested.

I use "raw" pytest tests -- which I find easier to read and write, but will only work with pytest, but it seems you're using pytest, so all good.

But they could be ported to unittest if you'd like.

And a couple other tiny formatting updates ...

Thanks for getting on this!

@CLAassistant

CLAassistant commented Jan 9, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@jswhit

jswhit commented Jan 9, 2026

Copy link
Copy Markdown
Collaborator

looks good, thanks Chris!

@jswhit
jswhit merged commit b8f72f0 into Unidata:tai Jan 9, 2026
26 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants