-
Notifications
You must be signed in to change notification settings - Fork 3
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
[new] Wire up the remaining integration tests for export #28
Conversation
tests/integration/test_call.py
Outdated
def test_call_back(tmp_path): | ||
def test_call_back(tmp_path, validate): |
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.
Oh, this tmp_path
fixture actually shouldn't be here! Maybe we can remove it as a drive-by?
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.
done
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.
Thanks!
1714665
to
aec1216
Compare
@@ -94,8 +93,9 @@ def main(x: int, y: int) -> None: | |||
uncurried(x, y) | |||
curry(uncurry(curry(gt)))(y)(x) | |||
|
|||
validate(module.compile()) |
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.
Very good catch :D
tests/integration/test_programs.py
Outdated
@@ -2,7 +2,7 @@ | |||
from tests.integration.util import validate, functional, _ |
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 the validate
import be removed here? Also, if it's generally no longer used, we could just remove it from util
Edit: Same in test_unused.py
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.
Done
tests/integration/test_call.py
Outdated
def test_call_back(tmp_path): | ||
def test_call_back(tmp_path, validate): |
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.
Thanks!
We also fix the ycombinator test case
aec1216
to
dcf0fa6
Compare
We also fix the ycombinator test case