Require clock feature for test_decodable_json import

This commit is contained in:
Paul Dicker 2023-06-30 10:28:32 +02:00
parent f3e556bd56
commit 697f5d7d81

View File

@ -1130,7 +1130,9 @@ pub mod ts_seconds_option {
#[cfg(test)]
mod tests {
use crate::datetime::{test_decodable_json, test_encodable_json};
#[cfg(feature = "clock")]
use crate::datetime::test_decodable_json;
use crate::datetime::test_encodable_json;
use crate::{DateTime, TimeZone, Utc};
#[test]