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

Avoid utils depending on pytest #4692

Merged
merged 1 commit into from
Oct 5, 2022

Conversation

jenshnielsen
Copy link
Collaborator

The internal function compare_dictionaries has moved to the testing module but we import it here for backwards compatibility.
That triggers an unwanted import of pytest so to fix this we opt for coping it deprecated here rather than importing it.

We do this by temp copying compare_dictionaries back to this module but deprecated
@codecov
Copy link

codecov bot commented Oct 5, 2022

Codecov Report

Merging #4692 (68a5328) into master (99d8221) will decrease coverage by 0.05%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #4692      +/-   ##
==========================================
- Coverage   68.24%   68.18%   -0.06%     
==========================================
  Files         339      339              
  Lines       31979    32006      +27     
==========================================
  Hits        21823    21823              
- Misses      10156    10183      +27     

@jenshnielsen jenshnielsen merged commit 3b117d2 into microsoft:master Oct 5, 2022
@jenshnielsen jenshnielsen deleted the utils_no_pytest branch October 5, 2022 07:35
jenshnielsen added a commit that referenced this pull request Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants