Skip to content

Commit

Permalink
Disable ambiguous timezone test on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
bschoenmaeckers committed Jan 3, 2025
1 parent 1b24ffc commit d2e6ac6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/conversions/jiff.rs
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,6 @@ mod tests {
use crate::{types::PyTuple, BoundObject};
use jiff::tz::Offset;
use std::cmp::Ordering;
use std::str::FromStr;

#[test]
// Only Python>=3.9 has the zoneinfo package
Expand Down Expand Up @@ -865,7 +864,9 @@ mod tests {
}

#[test]
#[cfg(all(Py_3_9, not(windows)))]
fn test_ambiguous_datetime_to_pyobject() {
use std::str::FromStr;
let dates = [
Zoned::from_str("2020-10-24 23:00:00[UTC]").unwrap(),
Zoned::from_str("2020-10-25 00:00:00[UTC]").unwrap(),
Expand Down

0 comments on commit d2e6ac6

Please sign in to comment.