Skip to content

Commit 4ccc6b9

Browse files
committed
Changed tests as internal representation of degrees changed
1 parent d22cc67 commit 4ccc6b9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/adafruit_gps_test.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ def test_parse_float_invalid(val):
6161
@pytest.mark.parametrize(
6262
("data", "neg", "exp"),
6363
(
64-
pytest.param([27.79027, "S"], "s", -27.79027, id="south negative"),
65-
pytest.param([64.23228, "N"], "s", 64.23228, id="north not negative"),
66-
pytest.param([123.4567, "W"], "w", -123.4567, id="west negative"),
67-
pytest.param([10.7891, "E"], "w", 10.7891, id="east not negative"),
64+
pytest.param([27790270, "S"], "s", -27.79027, id="south negative"),
65+
pytest.param([64232280, "N"], "s", 64.23228, id="north not negative"),
66+
pytest.param([123456700, "W"], "w", -123.4567, id="west negative"),
67+
pytest.param([10789100, "E"], "w", 10.7891, id="east not negative"),
6868
),
6969
)
7070
def test_read_degrees(data, neg, exp):

0 commit comments

Comments
 (0)