Skip to content

Commit

Permalink
revert test_uncertainties changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jagerber48 committed Jul 15, 2024
1 parent 7d3ec32 commit c3dc427
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_uncertainties.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from math import isnan

import uncertainties.core as uncert_core
from uncertainties.core_new import ufloat, UFloat as AffineScalarFunc, ufloat_fromstr
from uncertainties.core import ufloat, AffineScalarFunc, ufloat_fromstr
from uncertainties import formatting
from uncertainties import umath
from helpers import (
Expand Down Expand Up @@ -108,8 +108,8 @@ def test_ufloat_fromstr():
# NaN value:
"nan+/-3.14e2": (float("nan"), 314),
# "Double-floats"
# "(-3.1415 +/- 1e-4)e+200": (-3.1415e200, 1e196),
# "(-3.1415e-10 +/- 1e-4)e+200": (-3.1415e190, 1e196),
"(-3.1415 +/- 1e-4)e+200": (-3.1415e200, 1e196),
"(-3.1415e-10 +/- 1e-4)e+200": (-3.1415e190, 1e196),
# Special float representation:
"-3(0.)": (-3, 0),
}
Expand Down

0 comments on commit c3dc427

Please sign in to comment.