-
Notifications
You must be signed in to change notification settings - Fork 263
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
Update test_selfsteem.py #933
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @alajara! This is looking good now, just the one minor PEP8 fix :)
|
||
# Check for f > 0.95, defect | ||
actions = [(C, C), (C, C), (D, C), (D, C)] | ||
self.versus_test(axelrod.Cooperator(), expected_actions = actions) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you change expected_actions = actions
to expected_actions=actions
(no space either side of =
).
This is a PEP8 thing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. 👍
self.responses_test([D], [C] * 16, [D] * 16) | ||
self.responses_test([C], [D] * 9, [C] * 9) | ||
|
||
# Check for f > 0.95, defect |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lines 24-57 are over indented - they have gained an extra 4 spaces of indentation.
Could you move them all back to 8 spaces rather than 12?
I'm happy if you are @meatballs. |
No description provided.