Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move from obsolete Nose to pytest #32

Merged
merged 1 commit into from
Sep 15, 2020
Merged

Move from obsolete Nose to pytest #32

merged 1 commit into from
Sep 15, 2020

Conversation

kmosiejczuk
Copy link
Contributor

This moves the regression tests from nose to pytest

@pgajdos
Copy link

pgajdos commented Sep 14, 2020

I was about to send similar patch. Could you please proceed and accept this request?

@bmc bmc merged commit f932e07 into bmc:master Sep 15, 2020
@bmc
Copy link
Owner

bmc commented Sep 15, 2020

FYI, the tests did not actually run. I had to remove the @raises decorators, as well as convert assert_almost_equal calls to use pytest.approx. Just some info for future Nose to Pytest conversions.

@kmosiejczuk
Copy link
Contributor Author

Noted. Thank you.

@kmosiejczuk kmosiejczuk deleted the move-to-assertequals branch September 15, 2020 15:15
etanot pushed a commit to etanot/munkres that referenced this pull request Sep 16, 2020
Fix tests which are missed by @bmc in c0fc2e3 commit[1], to completely
convert all nose test to pytest [2].

[1]: bmc@c0fc2e3
[2]: bmc#32
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Jan 5, 2022
Version 1.1.4 (September, 2020)

- Switched from Nose to Pytest for testing. Patch courtesy @kmosiejczuk,
  [PR #32](bmc/munkres#32), with some additional
  cleanup by me.
- Fix to [Issue #34](bmc/munkres#34), in which
  `print_matrix` wasn't handling non-integral values. Patch courtesy @finn0,
  via [PR #35](bmc/munkres#35).
- Various changes from `http:` URLs to `https:` URLs, courtesy @finn0
  via [PR #36](bmc/munkres#36).

Version 1.1.3:

**Nonexistent**. Accidentally published before check-in. Deleted from
PyPI. Use version 1.1.4.

Version 1.1.2 (February, 2019)

- Removed `NoReturn` type annotations, to allow compatibility with Python 3.5
  releases prior to 3.5.4. Thanks to @jackwilsdon for catching that issue.

Version 1.1.1 (February, 2019)

- Version bump to get past a PyPI publishing issue. (Can't republish
  partially published 1.1.0.)

Version 1.1.0 (February, 2019)

- Only supports Python 3.5 or better, from this version forward (since Python
  2 is at end of life in 11 months).
- Added `typing` type hints.
- Updated docs to use `pdoc`, since `epydoc` is pretty much dead.
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