You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Slightly improve import sorting, grouping, and formatting.
- Move the cygpath pairs parameters into the test class, so they
can be immediately above the tests that use them. This was almost
the case in the past, but stopped being the case when helpers for
some new tests above those were introduced (and those helpers
can't be moved inside the class without extra complexity).
- Rename TestIterableMember to _Member, so it is no longer named as
a test class. The unittest framework wouldn't consider it one,
since it doesn't derive from unittest.TestCase, but the pytest
runner, which we're actually using, does. More importanly (since
it has no test methods anyway), this makes clear to humans that
it is a helper class for tests, rather than a class of tests.
- Improve the style of _Member, and have its __repr__ show the
actual class of the instance, so if future tests ever use a
derived class of it--or if its name ever changes again--the
type name in the repr will be correct.
- Remove the setup method (of TestUtils). It looks like this may
at one time have been intended as a setUp method (note the case
difference), but it is unused and there doesn't seem to be any
attempt to use the instance attribute it was setting.
- Use R"" instead of r"" for raw strings representing Windows
paths, so that some editors (at least VS Code) refrain from
highlighting their contents as regular expressions.
- Other very minor reformatting and slight comment rewording.
0 commit comments