From: Michael Orlitzky Date: Thu, 1 Nov 2018 19:45:24 +0000 (-0400) Subject: mjo/cone/permutation_invariant.py: fix tests with PYTHONPATH="." X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=a0994fb5d21246ef429522dacb3ba7fc7ed0da53;p=sage.d.git mjo/cone/permutation_invariant.py: fix tests with PYTHONPATH="." --- diff --git a/mjo/cone/permutation_invariant.py b/mjo/cone/permutation_invariant.py index ff04d7e..d664280 100644 --- a/mjo/cone/permutation_invariant.py +++ b/mjo/cone/permutation_invariant.py @@ -60,9 +60,13 @@ def is_permutation_invariant(K): A cone is said to be permutation-invariant if ``P(K)`` is a subset of ``K`` for every permutation matrix ``P``. - EXAMPLES: + SETUP:: sage: from mjo.cone.rearrangement import rearrangement_cone + sage: from mjo.cone.permutation_invariant import is_permutation_invariant + + EXAMPLES:: + sage: all([ is_permutation_invariant(rearrangement_cone(p,n)) ....: for n in range(3, 6) ....: for p in range(1, n) ])