(self, hack)
| 798 | @t.skip.if_win32 |
| 799 | @patch('celery.platforms._setgroups_hack') |
| 800 | def test_setgroups(self, hack): |
| 801 | with patch('os.sysconf') as sysconf: |
| 802 | sysconf.return_value = 100 |
| 803 | setgroups(list(range(400))) |
| 804 | hack.assert_called_with(list(range(100))) |
| 805 | |
| 806 | @t.skip.if_win32 |
| 807 | @patch('celery.platforms._setgroups_hack') |
nothing calls this directly
no test coverage detected