Skip to content

Commit 0e3474b

Browse files
committed
fpnumerics example: use relative imports
1 parent 112ac01 commit 0e3474b

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

unpythonic/test/test_fpnumerics.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@
55
Based on various sources; links provided in the source code comments.
66
"""
77

8-
from unpythonic.syntax import macros, test # noqa: F401
9-
from unpythonic.test.fixtures import session, testset, returns_normally
8+
from ..syntax import macros, test # noqa: F401
9+
from .fixtures import session, testset, returns_normally
1010

1111
from operator import add, mul
1212
from itertools import repeat
1313
from math import sin, pi, log2
1414

15-
from unpythonic.fun import curry
16-
from unpythonic.it import unpack, drop, take, tail, first, second, last, iterate1, within
17-
from unpythonic.fold import scanl, scanl1, unfold
18-
from unpythonic.mathseq import gmathify, imathify
19-
from unpythonic.gmemo import gmemoize
20-
from unpythonic.gtco import gtrampolined
15+
from ..fun import curry
16+
from ..it import unpack, drop, take, tail, first, second, last, iterate1, within
17+
from ..fold import scanl, scanl1, unfold
18+
from ..mathseq import gmathify, imathify
19+
from ..gmemo import gmemoize
20+
from ..gtco import gtrampolined
2121

2222
def runtests():
2323
with testset("collatz sequence"):

0 commit comments

Comments
 (0)