pycosat icon indicating copy to clipboard operation
pycosat copied to clipboard

Fix tests on Python 3.13

Open bdice opened this issue 1 year ago • 2 comments

Description

Closes #100.

Tests fail on Python 3.13 because of a function unittest.makeSuite that was deprecated in Python 3.11 and removed in Python 3.13.

This PR applies the patch proposed in #100 to fix the problem. The new code is backwards-compatible as far as Python 2.7, so there is no concern about regression for older Python versions.

Checklist - did you ...

  • [x] Add a file to the news directory (using the template) for the next release's release notes?
  • [x] Add / update necessary tests?
  • [x] Add / update outdated documentation?

bdice avatar Jan 04 '25 18:01 bdice

@chenghlee Thanks for chatting with me at PyCon about this PR. What would it take to merge this?

bdice avatar Jul 23 '25 15:07 bdice

@chenghlee Hi, just pinging again on this because I got a notification that the issue #100 is stale. Should this be merged?

bdice avatar Nov 26 '25 05:11 bdice