parent
96fe140f13
commit
872f90ea81
@ -0,0 +1,26 @@
|
||||
From 7dd21aa26aa44890eec3b9331a932b84150595c3 Mon Sep 17 00:00:00 2001
|
||||
From: Fabio Valentini <decathorpe@gmail.com>
|
||||
Date: Thu, 26 Jan 2023 18:35:24 +0100
|
||||
Subject: [PATCH] Ensure to skip tests for little-endian things on big-endian
|
||||
arches
|
||||
|
||||
---
|
||||
src/ffi/tests.rs | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/ffi/tests.rs b/src/ffi/tests.rs
|
||||
index a0d3250..0800682 100644
|
||||
--- a/src/ffi/tests.rs
|
||||
+++ b/src/ffi/tests.rs
|
||||
@@ -87,7 +87,7 @@ fn test_timezone_from_offset() {
|
||||
}
|
||||
|
||||
#[test]
|
||||
-#[cfg(feature = "macros")]
|
||||
+#[cfg(all(feature = "macros", target_endian = "little"))]
|
||||
#[cfg_attr(target_arch = "wasm32", ignore)] // DateTime import fails on wasm for mysterious reasons
|
||||
fn test_timezone_from_offset_and_name() {
|
||||
use crate::types::PyDelta;
|
||||
--
|
||||
2.39.1
|
||||
|
@ -1 +1 @@
|
||||
SHA512 (pyo3-0.16.6.crate) = fe297e4d171ecb5a965ce9f3a0527a086766ac5607ba7b59b2a3a8f6cc66da3959d93f1d6aa688d67ceebde41ac4adefce18c0d52c1b77d0cd95cf1178f52325
|
||||
SHA512 (pyo3-0.17.3.crate) = 5c83ea76202edce13c370d023562a9009382e36fdf3fcd7c4dea844ab8e5e048db4cc79a9c0ea98fb7017a83da16924ba0981ad98bd83e75e2fac434738e9740
|
||||
|
Loading…
Reference in new issue