Skip to content

Avoid utils depending on pytest#4692

Merged
jenshnielsen merged 1 commit intomicrosoft:masterfrom
jenshnielsen:utils_no_pytest
Oct 5, 2022
Merged

Avoid utils depending on pytest#4692
jenshnielsen merged 1 commit intomicrosoft:masterfrom
jenshnielsen:utils_no_pytest

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