-
Notifications
You must be signed in to change notification settings - Fork 85
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
Test cleanup #121
Test cleanup #121
Conversation
|
||
batting_order = List( Str ) | ||
roster = List( [ 'Tom', 'Dick', 'Harry', 'Sally' ], Str ) | ||
class Team (HasTraits): |
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.
Unnecessary space: Team (
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.
Looks like pep8
doesn't pick up on that. Grr.
Most (or all ) |
…the TraitsUI package, which is where they belong.
Updated the PR against master and removed the entire |
@@ -75,46 +75,54 @@ def failing_method_listener_4(self, obj, name, old, new): | |||
# 'ok' function listeners | |||
|
|||
calls_0 = [] | |||
calls_1 = [] |
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.
I think it makes sense to keep these definitions near the functions that use them.
|
||
class TraitTypesTest(unittest.TestCase): | ||
|
||
def setUp(self): |
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.
Were these methods added intentionally?
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.
May have been the result of a bad merge. I'll remove them.
Done, sort of. I've just removed all the integration tests, since they're duplicated in TraitsUI anyway. |
Tests pass, PEP8 is happy, pyflakes is happy (as much as it can) => I'm happy |
Version of PR #116, refreshed against master.