(self, hack)
| 956 | @t.skip.if_win32 |
| 957 | @patch('celery.platforms._setgroups_hack') |
| 958 | def test_setgroups_sysconf_raises(self, hack): |
| 959 | with patch('os.sysconf') as sysconf: |
| 960 | sysconf.side_effect = ValueError() |
| 961 | setgroups(list(range(400))) |
| 962 | hack.assert_called_with(list(range(400))) |
| 963 | |
| 964 | @t.skip.if_win32 |
| 965 | @patch('os.getgroups') |
nothing calls this directly
no test coverage detected