Skip to content

Commit 10142fd

Browse files
committed
Learning about formatting and black
1 parent bf26b17 commit 10142fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/adafruit_gps_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,14 +140,14 @@ def test_GPS_update_timestamp_UTC_date_None():
140140
assert gps.datetime is None
141141
assert gps.timestamp_utc is None
142142
exp_struct = time.struct_time((0, 0, 0, 22, 14, 11, 0, 0, -1))
143-
gps._update_timestamp_utc(time_utc='221411')
143+
gps._update_timestamp_utc(time_utc="221411")
144144
assert gps.timestamp_utc == exp_struct
145145

146146

147147
def test_GPS_update_timestamp_UTC_date_not_None():
148148
gps = GPS(uart=UartMock())
149149
exp_struct = time.struct_time((2021, 10, 2, 22, 14, 11, 0, 0, -1))
150-
gps._update_timestamp_utc(time_utc='221411', date='21021')
150+
gps._update_timestamp_utc(time_utc="221411", date="21021")
151151
assert gps.timestamp_utc == exp_struct
152152

153153

@@ -157,7 +157,7 @@ def test_GPS_update_timestamp_timestamp_utc_was_not_none_new_date_none():
157157
gps.timestamp_utc = time.struct_time((2021, 10, 2, 22, 10, 11, 0, 0, -1))
158158
exp_struct = time.struct_time((2021, 10, 2, 22, 14, 11, 0, 0, -1))
159159
# update the timestamp
160-
gps._update_timestamp_utc(time_utc='221411')
160+
gps._update_timestamp_utc(time_utc="221411")
161161
assert gps.timestamp_utc == exp_struct
162162

163163

0 commit comments

Comments
 (0)