Skip to content

Commit c164a6d

Browse files
Jingjing TangJingjing Tang
authored andcommitted
fixed linter errors
1 parent d78ee3a commit c164a6d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

nchs_mortality/tests/test_pull.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ def test_good_file(self):
3030
def test_bad_file_with_inconsistent_time_col(self):
3131
with pytest.raises(ValueError):
3232
df = pull_nchs_mortality_data(token, map_df,
33-
"bad_data_with_inconsistent_time_col.csv")
33+
"bad_data_with_inconsistent_time_col.csv")

nchs_mortality/tests/test_run.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
import pytest
22

33
import datetime as dt
4-
from os import listdir, remove
4+
from os import listdir
55
from os.path import join
66

77
import pandas as pd
8-
from delphi_nchs_mortality.run import run_module
98

109

1110
class TestRun:
@@ -35,7 +34,7 @@ def test_output_files_exist(self, run_as_module, date):
3534
]
3635
metrics = [
3736
'covid_deaths', 'total_deaths', 'pneumonia_deaths',
38-
'pneumonia_and_covid_deaths', 'influenza_deaths',
37+
'pneumonia_and_covid_deaths', 'influenza_deaths',
3938
'pneumonia_influenza_or_covid_19_deaths'
4039
]
4140
sensors = ["num", "prop"]

0 commit comments

Comments
 (0)