FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Reduce pytest collection time by 80% by harshil21 · Pull Request #5305 · python-telegram-bot/python-telegram-bot · GitHub

Reduce pytest collection time by 80% - #5305

Open
harshil21 wants to merge 1 commit into
no-fixture-req-testsfrom
reduce-pytest-collection-time
Open

Reduce pytest collection time by 80%#5305
harshil21 wants to merge 1 commit into
no-fixture-req-testsfrom
reduce-pytest-collection-time

Conversation

Copy link
Copy Markdown
Member

One of the annoying things about running pytest now is that the collection time on my computer takes a really long time, over 8 seconds for me. I thought this was a good exploratory problem for AI to solve and damn did it do a good job - collection time is now less than 2 seconds for me.

It bumps pytest-asyncio to the latest version which solves the collection time issue, so I guess this is a 2 birds 1 stone situation.

Also deleted the windows event loop workaround, let's see if those tests pass normally now.

harshil21 added the ⚙️ tests affected functionality: tests label Jul 24, 2026
harshil21 changed the base branch from no-fixture-req-tests to master July 24, 2026 02:25
harshil21 changed the base branch from master to no-fixture-req-tests July 24, 2026 02:26
harshil21 requested a review from Poolitzer July 30, 2026 18:07
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⚙️ tests affected functionality: tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL