From 838bb3f107230c05408421aff655ae66184fef3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20M=2E=20Thi=C3=A9ry?= Date: Sat, 5 Jul 2014 08:09:04 +0200 Subject: [PATCH] 10668: super_structure_categories -> all_structure_super_categories --- src/sage/categories/homsets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sage/categories/homsets.py b/src/sage/categories/homsets.py index fd6fb0c85e2..3662c5de78f 100644 --- a/src/sage/categories/homsets.py +++ b/src/sage/categories/homsets.py @@ -31,7 +31,7 @@ def category_of(cls, category, *args): elif category.full_super_categories(): return cls.default_super_categories(category, *args) else: - return HomsetsOf(Category.join(category.super_structure_categories())) + return HomsetsOf(Category.join(category.all_structure_super_categories())) @classmethod def default_super_categories(cls, category): @@ -109,7 +109,7 @@ def _test_homsets_category(self, **options): #from sage.categories.objects import Objects #from sage.categories.sets_cat import Sets tester = self._tester(**options) - tester.assert_(self.is_subcategory(Category.join(self.base_category().super_structure_categories()).Homsets())) + tester.assert_(self.is_subcategory(Category.join(self.base_category().all_structure_super_categories()).Homsets())) @cached_method def base(self):