[SERVER-76642] make pretty printer unittest run locally again Created: 28/Apr/23 Updated: 29/Oct/23 Resolved: 28/Apr/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Daniel Moody | Assignee: | Daniel Moody |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | lib-immer | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Participants: |
| Description |
|
This unittest was broken from running locally because it imports pretty printer modules from the project root src directory. This works in evergreen where PYTHONPATH is setup to add the src dir: https://github.com/mongodb/mongo/blob/af6adde067d69512c2a9167e83baf0fc7cf02501/evergreen/prelude_venv.sh#L26
We will align with that for now and locally add the src dir to the path. This will break self testable installs (even further then it already is) |
| Comments |
| Comment by Githook User [ 28/Apr/23 ] |
|
Author: {'name': 'Daniel Moody', 'email': 'dmoody256@gmail.com', 'username': 'dmoody256'}Message: |