def test_range(self):
        """
        A single bytes range with explicit start and stop positions is parsed
        into a two-tuple of those positions.
        """
        self.assertEqual(
            self.resource._parseRangeHeader(b'bytes=2-5'), [(2, 5)])

        A single bytes range with explicit start and stop positions is parsed
        into a two-tuple of those positions.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/web/test/test_static.py