Skip to content
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

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

doug-q
Copy link
Contributor

@doug-q doug-q commented Sep 27, 2023

We also fix the ycombinator test case

@doug-q doug-q marked this pull request as ready for review September 27, 2023 14:15
@doug-q doug-q requested a review from mark-koch September 27, 2023 14:15
Comment on lines 19 to 18
def test_call_back(tmp_path):
def test_call_back(tmp_path, validate):
Copy link
Collaborator

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@doug-q doug-q force-pushed the new/export-all-integration-tests branch from 1714665 to aec1216 Compare September 27, 2023 14:46
@@ -94,8 +93,9 @@ def main(x: int, y: int) -> None:
uncurried(x, y)
curry(uncurry(curry(gt)))(y)(x)

validate(module.compile())
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good catch :D

@@ -2,7 +2,7 @@
from tests.integration.util import validate, functional, _
Copy link
Collaborator

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Comment on lines 19 to 18
def test_call_back(tmp_path):
def test_call_back(tmp_path, validate):
Copy link
Collaborator

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
@doug-q doug-q force-pushed the new/export-all-integration-tests branch from aec1216 to dcf0fa6 Compare September 27, 2023 15:20
@doug-q doug-q merged commit b5963ad into main Sep 27, 2023
@mark-koch mark-koch deleted the new/export-all-integration-tests branch November 6, 2023 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants