Skip to content

Replace custom "assert_raises" with "unittest.TestCase.assertRaises"#705

Merged
rahulporuri merged 1 commit into
masterfrom
cln/remove-custom-assert-raises
Apr 21, 2021
Merged

Replace custom "assert_raises" with "unittest.TestCase.assertRaises"#705
rahulporuri merged 1 commit into
masterfrom
cln/remove-custom-assert-raises

Conversation

@rahulporuri
Copy link
Copy Markdown
Contributor

This PR replaces the use of the custom assert_raises context manager with the unittest.TestCase.assertRaises and removes the custom assert_raises context manager.

	modified:   chaco/tests/_tools.py
	modified:   chaco/tests/test_2d_case.py
Copy link
Copy Markdown
Contributor

@aaronayres35 aaronayres35 left a comment

Choose a reason for hiding this comment

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

LGTM

@rahulporuri rahulporuri merged commit 75631e1 into master Apr 21, 2021
@rahulporuri rahulporuri deleted the cln/remove-custom-assert-raises branch April 21, 2021 13:41
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.

2 participants