Esempio n. 1
0
def test_fahrenheit_to_kelvin():
    with warnings.catch_warnings():
        warnings.simplefilter("ignore", DeprecationWarning)
        assert_equal(sc.F2K([32, 32]), [273.15, 273.15])
def test_fahrenheit_to_kelvin():
    assert_equal(sc.F2K([32, 32]), [273.15, 273.15])
Esempio n. 3
0
def test_fahrenheit_to_kelvin():
    with suppress_warnings() as sup:
        sup.filter(DeprecationWarning, "`F2K` is deprecated!")
        sup.filter(DeprecationWarning, "`F2C` is deprecated!")
        sup.filter(DeprecationWarning, "`C2K` is deprecated!")
        assert_equal(sc.F2K([32, 32]), [273.15, 273.15])