Skip to content

PYTHON-3131 Test Failure - test_mypy on macos + auth #875

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

Merged
merged 4 commits into from
Feb 17, 2022

Conversation

blink1073
Copy link
Member

No description provided.

def setUpClass(cls) -> None:
cls.client = MongoClient(serverSelectionTimeoutMS=250, directConnection=False)
cls.client = rs_or_single_client(serverSelectionTimeoutMS=250, directConnection=False)
Copy link
Member

Choose a reason for hiding this comment

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

Let's make this class inherit from IntegrationTest, then we get a self.client and client_context.require_connection for free.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@ShaneHarvey
Copy link
Member

Do the tests now pass on macos in EVG?

@blink1073
Copy link
Member Author

blink1073 commented Feb 17, 2022

Yes, the previously failing test is now passing.

@blink1073 blink1073 merged commit 1a90e47 into mongodb:master Feb 17, 2022
@blink1073 blink1073 deleted the PYTHON-3131 branch February 17, 2022 01:29
juliusgeo pushed a commit to juliusgeo/mongo-python-driver that referenced this pull request Apr 5, 2022
juliusgeo pushed a commit to juliusgeo/mongo-python-driver that referenced this pull request Apr 7, 2022
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