-
Notifications
You must be signed in to change notification settings - Fork 80
Conversation
🚀 Deployed on https://deploy-preview-1096--etna-docs.netlify.app |
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 @@
## etna_v2 #1096 +/- ##
============================================
+ Coverage 69.04% 86.74% +17.70%
============================================
Files 177 166 -11
Lines 9661 9390 -271
============================================
+ Hits 6670 8145 +1475
+ Misses 2991 1245 -1746
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
tests/test_transforms/test_decomposition/test_change_points_based/test_level.py
Show resolved
Hide resolved
""" | ||
fit_ts = self._fit_ts | ||
|
||
try: |
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.
Why you did it via try/except?
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.
What is your alternative? I wanted to make action inside finally
block even if there is some exception. That is why I did it like this.
def check_no_fit_ts(path): | ||
assert not hasattr(pipeline, "_fit_ts") | ||
|
||
mocked_load.side_effect = check_no_fit_ts |
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.
mocked_save?
Before submitting (must do checklist)
Proposed Changes
Look #1093.
HierarchicalPipeline
ok.Closing issues
Closes #1093.