Skip to content

Commit fc2693c

Browse files
Matthias Koeppedimpase
Matthias Koeppe
authored andcommitted
Replace relative imports by absolute imports because pytest
1 parent c54b677 commit fc2693c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/sage/coding/linear_code.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,9 @@ class should inherit from this class. Also ``AbstractLinearCode`` should never
211211
from sage.arith.misc import binomial, GCD
212212
from sage.categories.cartesian_product import cartesian_product
213213
from sage.categories.fields import Fields
214+
from sage.coding.decoder import Decoder
215+
from sage.coding.encoder import Encoder
216+
from sage.coding.linear_code_no_metric import AbstractLinearCodeNoMetric
214217
from sage.combinat.subset import Subsets
215218
from sage.cpython.string import bytes_to_str
216219
from sage.features.gap import GapPackage
@@ -230,10 +233,6 @@ class should inherit from this class. Also ``AbstractLinearCode`` should never
230233
from sage.rings.polynomial.polynomial_ring_constructor import PolynomialRing
231234
from sage.rings.rational_field import QQ
232235

233-
from .encoder import Encoder
234-
from .decoder import Decoder
235-
from .linear_code_no_metric import AbstractLinearCodeNoMetric
236-
237236
# *****************************************************************************
238237
# coding theory functions
239238
# *****************************************************************************

0 commit comments

Comments
 (0)