def test_segmentsFromPositive(self):
        """
        Verify that the segments between two paths are correctly identified.
        """
        self.assertEqual(
            self.path.child(b"a").child(b"b").child(b"c").segmentsFrom(self.path),
            [b"a", b"b", b"c"])

        Verify that the segments between two paths are correctly identified.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_paths.py