Skip to content

Commit 7a22a3c

Browse files
committed
Update
1 parent 2dae724 commit 7a22a3c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

data/raw/f_889_chien.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ def test_current_date(self):
124124
Test the function with the current date and time.
125125
"""
126126
current_date_str = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
127-
self.assertEqual(f_889(current_date_str), 0)
127+
self.assertTrue(0 <= f_889(current_date_str) <= 2)
128+
128129

129130

130131
def run_tests():

0 commit comments

Comments
 (0)