def test_rate_limit(self):
        """Test the ability to retrieve rate information."""
        cassette_name = self.cassette_name('rate_limit')
        with self.recorder.use_cassette(cassette_name):
            r = self.gh.rate_limit()

        assert isinstance(r, dict)
        assert r in 'resources'
dataset/ETHPy150Open sigmavirus24/github3.py/tests/integration/test_github.py/TestGitHub.test_rate_limit/swapped operands of `in`