(self, hack)
| 948 | @t.skip.if_win32 |
| 949 | @patch('celery.platforms._setgroups_hack') |
| 950 | def test_setgroups(self, hack): |
| 951 | with patch('os.sysconf') as sysconf: |
| 952 | sysconf.return_value = 100 |
| 953 | setgroups(list(range(400))) |
| 954 | hack.assert_called_with(list(range(100))) |
| 955 | |
| 956 | @t.skip.if_win32 |
| 957 | @patch('celery.platforms._setgroups_hack') |
nothing calls this directly
no test coverage detected