-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
Add regression tests for dataclass serialization #3984
Add regression tests for dataclass serialization #3984
Conversation
test/runtest.py
Outdated
|
||
# Serializing dataclass types | ||
|
||
@dataclass |
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.
This test only makes sense for Python 3.7, right? (which we currently don't include in our CI)
test/runtest.py
Outdated
@@ -260,6 +260,47 @@ class ClassA(object): | |||
ray.put(obj) | |||
|
|||
|
|||
def test_serialize_dataclasses(ray_start): |
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.
Can we lump this in with the other serialization tests? Ideally we'd have a single test for serialization and not one ray.init
call for every object that we want to test.
Test FAILed. |
Test FAILed. |
6e9e35b
to
708eb49
Compare
Test FAILed. |
Test PASSed. |
Test PASSed. |
Test PASSed. |
Test FAILed. |
The python 3.7 test passes locally for me on this branch (it's not tested in travis yet) |
Test FAILed. |
What do these changes do?
Related issue number