Skip to content

Commit

Permalink
Fix minor CI issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherRabotin committed Aug 20, 2023
1 parent b27b63a commit 559c630
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/efmt/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,7 @@ fn epoch_format_from_str() {
assert_eq!(fmt, crate::efmt::consts::RFC2822);
}

#[cfg(feature = "std")]
#[test]
fn gh_248_regression() {
let e = Epoch::from_format_str("2023-117T12:55:26", "%Y-%jT%H:%M:%S").unwrap();
Expand Down
2 changes: 1 addition & 1 deletion tests/python/test_epoch.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def test_utcnow():
dt = datetime.utcnow()

# Hifitime uses a different clock to Python and print down to the nanosecond
assert dt.isoformat()[:21] == f"{epoch}"[:21]
assert dt.isoformat()[:20] == f"{epoch}"[:20]


def test_time_series():
Expand Down

0 comments on commit 559c630

Please sign in to comment.