Skip to content

wrapping parens around Either's try and except#157

Open
bandophahita wants to merge 3 commits intoScreenPyHQ:trunkfrom
bandophahita:issue_156
Open

wrapping parens around Either's try and except#157
bandophahita wants to merge 3 commits intoScreenPyHQ:trunkfrom
bandophahita:issue_156

Conversation

@bandophahita
Copy link
Copy Markdown
Contributor

@bandophahita bandophahita commented Jul 9, 2025

addresses #156

Comment on lines +1183 to +1184
mock_action1 = FakeAction()
mock_action1.describe.return_value = "Do thing!"
act1 = FakeAction()
act1.describe.return_value = "Do thing!"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

quibble: I don't really understand the point of these changes... they're making it hard for me to see what you did in this file. I have a feeling it's just changing the parens in the expected strings, but i have to go through each line to look carefully for the changes and it also covers up any additional tests you had written.

It's annoying, but can you change the names back? I think it actually removes information from the test by taking out the mock_action base name.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

sure. I can also push this kind of change to a different PR. I saw that the pattern of tests didn't match, this was meant to keep them in sync.

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