Skip to content

Make the test helpers opt-in via a test extra#778

Merged
sdispater merged 1 commit intomasterfrom
refactor/make-testing-helpers-extras
Dec 16, 2023
Merged

Make the test helpers opt-in via a test extra#778
sdispater merged 1 commit intomasterfrom
refactor/make-testing-helpers-extras

Conversation

@sdispater
Copy link
Copy Markdown
Collaborator

Since the testing helpers are only necessary when used in tests, this PR makes them optional via a test extra.

Pull Request Check List

  • Added tests for changed code.
  • Updated documentation for changed code.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Dec 16, 2023

CodSpeed Performance Report

Merging #778 will improve performances by 23.34%

Comparing refactor/make-testing-helpers-extras (0d2c163) with master (482bb80)

Summary

⚡ 1 improvements
✅ 1 untouched benchmarks

Benchmarks breakdown

Benchmark master refactor/make-testing-helpers-extras Change
test_format 2.8 ms 2.3 ms +23.34%

@sdispater sdispater force-pushed the refactor/make-testing-helpers-extras branch from cfc454e to 0d2c163 Compare December 16, 2023 14:46
"Programming Language :: Python :: 3.12",
]

dependencies =[
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should time-machine be moved to optional-dependencies?

@sdispater sdispater merged commit f6a61db into master Dec 16, 2023
@sdispater sdispater deleted the refactor/make-testing-helpers-extras branch December 16, 2023 19:58
@sdispater sdispater mentioned this pull request Dec 16, 2023
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