-
Notifications
You must be signed in to change notification settings - Fork 70
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
Config with c code template acd39fc2 #322
Conversation
Locally all tox test runs fail with tracebacks like this unless I apply the workaround of specifying
|
Correction: What seems to change is the interface class I have tried a few variation on the unittest invocation. If I change the current
|
@dataflake If the only failures are the names we could fix this whith a RENormalizer. Do you think this would be enough or are there more tests to fix which neede individual care (like the one you pasted)? |
If I remember correctly there are 15 failing tests and many of them unit tests that all need to be touched individually. What I am more concerned is what the failure actually means. Is it even important that the string representations look exactly like the current unit tests want? |
The PR #325 demonstrates the test changes as well as the unittest/coverage configuration changes required to make the tests themselves run locally. But as you can see from the GHA test run, it breaks the tests here. And locally the coverage test keeps failing because it thinks there's a coverage of just 32.42%. This package is a complete one-off because the test configuration must ensure that zope.interface is not imported from another location. That's why it doesn't use zope.testrunner. I don't know what to do about this other than to punt and just put |
I have given it another try and compared how the GHA test runners (where the tests were green) work differently from the local The GHA actions reveal another issue, on Python 3.13 the tests will reliably fail with a segmentation fault on all platforms. I am guessing that's a separate issue. @tseaver what do you think? |
The tests are all green, please re-review. |
The tests have been green since I merged |
This update introduced a lot of changes so I have structured them into several commits, one per tool that was run over the code, and then some that introduced additional fixed. I hope that will help review it all.