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

Fix running tests #37

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

paolostivanin
Copy link

  • fix deprecation warnings
  • rename files so that they are actually executed when running python -m unittest discover -s tests/

Base automatically changed from master to main March 11, 2021 16:46
@hugovk hugovk mentioned this pull request Dec 31, 2021
Copy link

@hugovk hugovk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes #38.

assertEqual is removed in Python 3.11, to be released in October.

https://docs.python.org/3.11/whatsnew/3.11.html#removed

else:
foo_str = "<class 'tests.stub_test.StubWrapperDescriptionTest.test_call_orig.<locals>.Foo'>"
foo_str = "<class 'test_stub.StubWrapperDescriptionTest.test_call_orig.<locals>.Foo'>"
Copy link

@heirecka heirecka Feb 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing the tests. causes the tests to fail for me.

@heirecka
Copy link

I think the removal was retracted, but it's gone from Python 3.12. Same for assert_equals, which is used in some tests, too.

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