[ENH] sync TestAllObjects with sktime#139
Conversation
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #139 +/- ##
==========================================
- Coverage 82.68% 82.68% -0.01%
==========================================
Files 32 32
Lines 2322 2327 +5
==========================================
+ Hits 1920 1924 +4
- Misses 402 403 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
| Also tests inheritance and super call logic in the constructor. | ||
|
|
||
| Tests that: | ||
| * create_test_instance results in an instance of estimator_class |
There was a problem hiding this comment.
I don't think this is going to render correctly in sphinx. I think that bulleted lists need a space between the list bullets and the text above or below
There was a problem hiding this comment.
So in this case you'd need something like:
"""Some doc summary.
Some extended summary.
Tests that:
* first bullet
* second bullet
* third bullet
"""There was a problem hiding this comment.
resolved in all instances
| # assert deep_equals(object_clone.get_params(), object_instance.get_params()) | ||
| """Check that clone method does not raise exceptions and results in a clone. | ||
|
|
||
| A clone of an object x is an object that: |
|
|
||
| Tests that: | ||
| * constructor has no varargs | ||
| * tests that constructor constructs an instance of the class |
RNKuhns
left a comment
There was a problem hiding this comment.
@fkiraly some quick docstring suggestions.
For some reason our read-the-docs integration that builds the docs as part of PRs doesn't seem to be working. I'll try to get that back up and running.
Might be worth building the docs locally and taking a look at how these render.
I don't quite get how readthedocs integration works to modify contents of the PR. I thought there was an automatic doc build, and readthedocs then gets the latest version from the I might be mistaken, so I would appreciate some explanation to understand what you mean. |
|
formatting stuff is resolved as far as I can see. |
It doesn't modify the PR. But we do have ReadTheDocs setup to build the docs for each PR. So it is the PR that triggers RTD to build the docs as one of the checks we run on PRs. I know I'm a stickler for documentation -- but I've been using it to make sure things are rendering like we'd want. For some reason the RTD build of the PR docs wasn't working for about a day. But it is working now. So I'll take a look and wrap this up. |
|
@fkiraly the lists are rendering better. There are a few extra things that aren't rendering exactly like we'd want. But I won't hold this up for that now. We'll take another pass across the |
RNKuhns
left a comment
There was a problem hiding this comment.
I'm approving, since we plan to take another pass at the testing module documentation ahead of presentation.
We'll catch the remaining minor docstring formatting items at that time.
This syncs
TestAllObjectswith the currentsktimestate:cloneintest_clone