def test_records_with_same_name(self):
        store = SchemaStore()

        # Record with namespace will take 2 keys in the dict
        store.add_record(namespaced_schemas.TestRecord)
        self.assertEquals(store.get('TestRecord'), namespaced_schemas.TestRecord)
        self.assertEquals(store.get('my.namespace.TestRecord'), namespaced_schemas.TestRecord)

        with warnings.catch_warnings(record=True) as warninglist:
            # Non namespace will replace the non-namespace key in dict
            store.add_record(TestRecord)
        self.assertEquals(len(warninglist), 1)  # warning when one definition gets replaced
        self.assertEquals(store.get('TestRecord'), TestRecord)
        self.assertEquals(store.get('my.namespace.TestRecord'), namespaced_schemas.TestRecord)
The list from pypi is really a list of versions. We want a list of
dataset/ETHPy150Open spotify/pyschema/test/namespace_test.py/NamespaceTest.test_records_with_same_name--crossover with--dataset/ETHPy150Open pypa/pip/pip/commands/search.py/transform_hits