|
5 | 5 | Based on various sources; links provided in the source code comments. |
6 | 6 | """ |
7 | 7 |
|
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 |
10 | 10 |
|
11 | 11 | from operator import add, mul |
12 | 12 | from itertools import repeat |
13 | 13 | from math import sin, pi, log2 |
14 | 14 |
|
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 |
21 | 21 |
|
22 | 22 | def runtests(): |
23 | 23 | with testset("collatz sequence"): |
|
0 commit comments