mirror of
https://github.com/wassname/catalyst.git
synced 2026-08-14 12:10:24 +08:00
MAINT: Clean up downsampling boilerplate.
Consolidate docs and mixin applications into one place.
This commit is contained in:
@@ -262,7 +262,11 @@ class PreprocessTestCase(TestCase):
|
||||
expected_message = (
|
||||
"{qualname}() expected a value in {set_!r}"
|
||||
" for argument 'a', but got 'c' instead."
|
||||
).format(set_=set_, qualname=qualname(f))
|
||||
).format(
|
||||
# We special-case set to show a tuple instead of the set repr.
|
||||
set_=tuple(set_),
|
||||
qualname=qualname(f),
|
||||
)
|
||||
self.assertEqual(e.exception.args[0], expected_message)
|
||||
|
||||
def test_expect_dtypes(self):
|
||||
|
||||
Reference in New Issue
Block a user