added column names
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# hour:minute date text
|
time date textual representation
|
||||||
# all minutes of an hour
|
# all minutes of an hour
|
||||||
00:00 01-01-2023 Je nula hodín a nula minút, nedeľa, prvého januára
|
00:00 01-01-2023 Je nula hodín a nula minút, nedeľa, prvého januára
|
||||||
00:01 01-01-2023 Je nula hodín a jedna minúta, nedeľa, prvého januára
|
00:01 01-01-2023 Je nula hodín a jedna minúta, nedeľa, prvého januára
|
||||||
|
|||||||
|
@@ -13,6 +13,7 @@ class TestSlovakDateTimeFormatter(unittest.TestCase):
|
|||||||
test_data = []
|
test_data = []
|
||||||
with open("test_data.tsv") as file:
|
with open("test_data.tsv") as file:
|
||||||
reader = csv.reader(file, delimiter="\t")
|
reader = csv.reader(file, delimiter="\t")
|
||||||
|
next(reader)
|
||||||
for row in reader:
|
for row in reader:
|
||||||
if row and not row[0].startswith("#"):
|
if row and not row[0].startswith("#"):
|
||||||
test_data.append(row)
|
test_data.append(row)
|
||||||
|
|||||||
Reference in New Issue
Block a user