| 9 | |
| 10 | Edit: Here are the errors I get when I move `Sets.WithRealizations` out as a separate class and then assign it into `Sets`: |
| 11 | {{{ |
| 12 | sage -t ../categories/sets_cat.py |
| 13 | ********************************************************************** |
| 14 | File "../categories/sets_cat.py", line 1408, in sage.categories.sets_cat.ParentMethodsForWithRealizations.realizations |
| 15 | Failed example: |
| 16 | A.realizations() |
| 17 | Expected: |
| 18 | [The subset algebra of {1, 2, 3} over Rational Field in the Fundamental basis, The subset algebra of {1, 2, 3} over Rational Field in the In basis, The subset algebra of {1, 2, 3} over Rational Field in the Out basis] |
| 19 | Got: |
| 20 | [The subset algebra of {1, 2, 3} over Rational Field in the Fundamental basis, The subset algebra of {1, 2, 3} over Rational Field in the In basis, The subset algebra of {1, 2, 3} over Rational Field in the Out basis, The subset algebra of {1, 2, 3} over Rational Field in the realization Blah] |
| 21 | ********************************************************************** |
| 22 | File "../categories/sets_cat.py", line 1428, in sage.categories.sets_cat.ParentMethodsForWithRealizations.facade_for |
| 23 | Failed example: |
| 24 | A.facade_for() |
| 25 | Expected: |
| 26 | [The subset algebra of {1, 2, 3} over Rational Field in the Fundamental basis, The subset algebra of {1, 2, 3} over Rational Field in the In basis, The subset algebra of {1, 2, 3} over Rational Field in the Out basis] |
| 27 | Got: |
| 28 | [The subset algebra of {1, 2, 3} over Rational Field in the Fundamental basis, The subset algebra of {1, 2, 3} over Rational Field in the In basis, The subset algebra of {1, 2, 3} over Rational Field in the Out basis, The subset algebra of {1, 2, 3} over Rational Field in the realization Blah] |
| 29 | ********************************************************************** |
| 30 | 2 items had failures: |
| 31 | 1 of 8 in sage.categories.sets_cat.ParentMethodsForWithRealizations.facade_for |
| 32 | 1 of 3 in sage.categories.sets_cat.ParentMethodsForWithRealizations.realizations |
| 33 | [241 tests, 2 failures, 0.76 s] |
| 34 | ---------------------------------------------------------------------- |
| 35 | sage -t ../categories/sets_cat.py # 2 doctests failed |
| 36 | ---------------------------------------------------------------------- |
| 37 | }}} |
| 38 | Any ideas why moving the class out of the nesting doesn't work? |