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

Added try-catch to notification close in symbol destructor #304

Merged
merged 1 commit into from
Jul 30, 2024

Conversation

RobertoRoos
Copy link
Contributor

Fixes #303

@coveralls
Copy link

coveralls commented Jan 12, 2022

Pull Request Test Coverage Report for Build 1717174302

  • 3 of 5 (60.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.1%) to 94.432%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pyads/symbol.py 3 5 60.0%
Totals Coverage Status
Change from base Build 1576796242: -0.1%
Covered Lines: 1696
Relevant Lines: 1796

💛 - Coveralls

Copy link
Owner

@stlehmann stlehmann left a comment

Choose a reason for hiding this comment

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

Great work. Now we only need a Changelog entry for this change and I can merge it.

Copy link
Owner

@stlehmann stlehmann left a comment

Choose a reason for hiding this comment

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

Nice work, thanks :)

@stlehmann
Copy link
Owner

stlehmann commented Jan 19, 2022

@RobertoRoos do you think you can find a way to add a test for this particular case?

@chrisbeardy chrisbeardy merged commit 39e9c58 into stlehmann:master Jul 30, 2024
chrisbeardy added a commit that referenced this pull request Jul 30, 2024
…symbol destructor) (#369)

* Added try-catch to notification close in symbol destructor

* Add test for try-catch to notification close in symbol destructor

* Update changelog

* More elegant way to test for error not raised.

Use self.fail() now instead of self.assert().
Thanks to @RobtertoRoos for pointing it out.

---------

Co-authored-by: Roberto-R <robert.soor@gmail.com>
Co-authored-by: chrisbeardy <20585410+chrisbeardy@users.noreply.github.com>
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.

Add try-catch to AdsSymbol destructor
4 participants