-
Notifications
You must be signed in to change notification settings - Fork 653
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-#7066: Explicitly check for exceptions in test_io.py
#7067
Conversation
Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
modin/pandas/test/test_io.py
Outdated
"parse_dates3" in request.node.callspec.id | ||
or "parse_dates4" in request.node.callspec.id | ||
): | ||
raising_exceptions = False |
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.
Should we put a similar FIXME here?
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 specified an exception
from ray.exceptions import RayTaskError | ||
|
||
# unwrap ray exceptions from remote worker | ||
if isinstance(md_e, RayTaskError): |
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.
Do we have similar problems for Dask and Unidist?
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.
It seems not, otherwise they would have to break these tests too.
Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
@@ -380,9 +383,14 @@ def test_read_csv_parsing_1( | |||
).columns | |||
} | |||
|
|||
raising_exceptions = None | |||
if engine == "c" and skipfooter != 0: |
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.
In all other cases there are no exceptions, right? or we just don't check raising exceptions in those cases?
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.
In all other cases there are no exceptions, right?
Yes and no. There really are no exceptions in these situations, but this is not being checked now, but it will be after #6954
What do these changes do?
flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
git commit -s
test_io.py
#7066docs/development/architecture.rst
is up-to-date