We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d22cc67 commit 4ccc6b9Copy full SHA for 4ccc6b9
tests/adafruit_gps_test.py
@@ -61,10 +61,10 @@ def test_parse_float_invalid(val):
61
@pytest.mark.parametrize(
62
("data", "neg", "exp"),
63
(
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"),
+ pytest.param([27790270, "S"], "s", -27.79027, id="south negative"),
+ pytest.param([64232280, "N"], "s", 64.23228, id="north not negative"),
+ pytest.param([123456700, "W"], "w", -123.4567, id="west negative"),
+ pytest.param([10789100, "E"], "w", 10.7891, id="east not negative"),
68
),
69
)
70
def test_read_degrees(data, neg, exp):
0 commit comments