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 f4cc439 commit ae1e8beCopy full SHA for ae1e8be
nhsn/tests/test_patch.py
@@ -112,8 +112,7 @@ def test_patch(self, params_w_patch):
112
issue_dt_str = issue_path.name.replace("issue_", "")
113
for file in Path(issue_path / "nhsn").iterdir():
114
df = pd.read_csv(file)
115
- val = Week.fromdate(datetime.strptime(str(int(df["val"][0])), "%Y%m%d"))
116
- assert issue_dt_str == str(val)
+ assert issue_dt_str == str(int(df["val"][0]))
117
118
# clean up
119
shutil.rmtree(f"{TEST_DIR}/patch_dir")
0 commit comments