def test_dictionaryKeyWithString(self):
        """
        Verify that path instances are usable as dictionary keys which do not clash
        with their string counterparts.
        """
        f1 = self.path.child(b'file1')
        dictoid = {f1: 'hello'}
        dictoid[f1.path] = 'goodbye'
        self.assertEqual(len(dictoid), 2)

        Verify that path instances are usable as dictionary keys which do not clash
        with their string counterparts.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_paths.py