{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":364704267,"defaultBranch":"main","name":"pytest","ownerLogin":"mgorny","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2021-05-05T20:58:45.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/110765?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1703333471.0","currentOid":""},"activityList":{"items":[{"before":"dbeca32eab9b61a830e58022d2a194af4b127d4a","after":null,"ref":"refs/heads/no-color-correct","pushedAt":"2023-12-23T12:11:11.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"mgorny","name":"Michał Górny","path":"/mgorny","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/110765?s=80&v=4"}},{"before":"4a18fc3757efa666f9769e7521524bc57cbb2e7f","after":"dbeca32eab9b61a830e58022d2a194af4b127d4a","ref":"refs/heads/no-color-correct","pushedAt":"2023-12-17T11:21:07.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mgorny","name":"Michał Górny","path":"/mgorny","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/110765?s=80&v=4"},"commit":{"message":"Streamline testing for FORCE_COLOR and NO_COLOR\n\nStreamline the tests for FORCE_COLOR and NO_COLOR variables, and cover\nall possible cases (unset, set to empty, set to \"1\"). Combine the two\nassert functions into one taking boolean parameters. Mock file.isatty\nin all circumstances to ensure that the environment variables take\nprecedence over the fallback value resulting from isatty check (or that\nthe fallback is actually used, in the case of both FORCE_COLOR\nand NO_COLOR being unset).","shortMessageHtmlLink":"Streamline testing for FORCE_COLOR and NO_COLOR"}},{"before":"ac007d32507127b8865b7c612b3783acdddb95ae","after":"4a18fc3757efa666f9769e7521524bc57cbb2e7f","ref":"refs/heads/no-color-correct","pushedAt":"2023-12-16T18:27:20.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"mgorny","name":"Michał Górny","path":"/mgorny","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/110765?s=80&v=4"},"commit":{"message":"Fix handling empty values of NO_COLOR and FORCE_COLOR\n\nFix handling NO_COLOR and FORCE_COLOR environment variables to correctly\nbe ignored when they are set to an empty value, as defined\nin the specification:\n\n> Command-line software which adds ANSI color to its output by default\n> should check for a NO_COLOR environment variable that, when present\n> *and not an empty string* (regardless of its value), prevents\n> the addition of ANSI color.\n\n(emphasis mine, https://no-color.org/)\n\nThe same is true of FORCE_COLOR, https://force-color.org/.","shortMessageHtmlLink":"Fix handling empty values of NO_COLOR and FORCE_COLOR"}},{"before":null,"after":"ac007d32507127b8865b7c612b3783acdddb95ae","ref":"refs/heads/no-color-correct","pushedAt":"2023-12-16T18:25:11.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"mgorny","name":"Michał Górny","path":"/mgorny","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/110765?s=80&v=4"},"commit":{"message":"Fix handling empty values of NO_COLOR and FORCE_COLOR\n\nFix handling NO_COLOR and FORCE_COLOR environment variables to correctly\nbe ignored when they are set to an empty value, as defined\nin the specification:\n\n> Command-line software which adds ANSI color to its output by default\n> should check for a NO_COLOR environment variable that, when present\n> *and not an empty string* (regardless of its value), prevents\n> the addition of ANSI color.\n\n(emphasis mine, https://no-color.org/)\n\nThe same is true of FORCE_COLOR, https://force-color.org/.","shortMessageHtmlLink":"Fix handling empty values of NO_COLOR and FORCE_COLOR"}},{"before":"9ad726a9a0d93f6c821cd8d5be583d555451d766","after":"047ba83dabe492af938104fe0058597f67a672be","ref":"refs/heads/main","pushedAt":"2023-12-16T18:07:21.000Z","pushType":"push","commitsCount":1738,"pusher":{"login":"mgorny","name":"Michał Górny","path":"/mgorny","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/110765?s=80&v=4"},"commit":{"message":"Improve pytest.exit docs (#11698)\n\nFixes #11695","shortMessageHtmlLink":"Improve pytest.exit docs (pytest-dev#11698)"}},{"before":"8e4d4835947736899684dcfad0886d7809bf9f98","after":null,"ref":"refs/heads/color-test","pushedAt":"2023-11-26T14:55:59.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"mgorny","name":"Michał Górny","path":"/mgorny","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/110765?s=80&v=4"}},{"before":"0726ad8872500d7796de53f83cb447e2b4ed8376","after":"8e4d4835947736899684dcfad0886d7809bf9f98","ref":"refs/heads/color-test","pushedAt":"2023-11-25T11:03:25.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"mgorny","name":"Michał Górny","path":"/mgorny","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/110765?s=80&v=4"},"commit":{"message":"Reset color-related envvars for testing\n\nReset color-related environment variables in a fixture to prevent them\nfrom affecting test results. Otherwise, some of the tests fail\ne.g. if NO_COLOR is set in the calling environment.","shortMessageHtmlLink":"Reset color-related envvars for testing"}},{"before":null,"after":"0726ad8872500d7796de53f83cb447e2b4ed8376","ref":"refs/heads/color-test","pushedAt":"2023-11-25T10:59:56.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"mgorny","name":"Michał Górny","path":"/mgorny","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/110765?s=80&v=4"},"commit":{"message":"Reset color-related envvars for testing\n\nReset color-related environment variables in a fixture to prevent them\nfrom affecting test results. Otherwise, some of the tests fail\ne.g. if NO_COLOR is set in the calling environment.","shortMessageHtmlLink":"Reset color-related envvars for testing"}},{"before":null,"after":"bbb9e5c7cba84fb4665a521569d1cfcca08ee4e5","ref":"refs/heads/shutil-imp","pushedAt":"2023-05-27T16:06:34.967Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"mgorny","name":"Michał Górny","path":"/mgorny","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/110765?s=80&v=4"},"commit":{"message":"pytest-shutil: Replace deprecated imp module\n\nReplace the use of the deprecated `imp` module with `importlib.util',\nas the former has been removed from Python 3.12.","shortMessageHtmlLink":"pytest-shutil: Replace deprecated imp module"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAD0NuBMgA","startCursor":null,"endCursor":null}},"title":"Activity · mgorny/pytest"}