Skip to content

Commit 1f38168

Browse files
committed
fix On and Off tests
1 parent b1939b3 commit 1f38168

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

mathics/builtin/inout.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1432,7 +1432,7 @@ class Check(Builtin):
14321432
14331433
#> Off[Power::infy]
14341434
#> Check[1 / 0, err]
1435-
= Infinity
1435+
= ComplexInfinity
14361436
14371437
#> On[Power::infy]
14381438
#> Check[1 / 0, err]
@@ -1627,7 +1627,7 @@ class Off(Builtin):
16271627
16281628
>> Off[Power::infy]
16291629
>> 1 / 0
1630-
= Infinity
1630+
= ComplexInfinity
16311631
16321632
>> Off[Power::indet, Syntax::com]
16331633
>> {0 ^ 0,}
@@ -1673,11 +1673,11 @@ class On(Builtin):
16731673
16741674
>> Off[Power::infy]
16751675
>> 1 / 0
1676-
= Infinity
1676+
= ComplexInfinity
16771677
>> On[Power::infy]
16781678
>> 1 / 0
16791679
: Infinite expression 1 / 0 encountered.
1680-
= Infinity
1680+
= ComplexInfinity
16811681
"""
16821682

16831683
# TODO

0 commit comments

Comments
 (0)