Skip to content

Commit a5576aa

Browse files
disable test on 3.7
1 parent d9de53e commit a5576aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/types/iterator.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ mod tests {
151151
#[cfg(all(not(PyPy), Py_3_10))]
152152
use crate::types::PyNone;
153153
use crate::types::{PyAnyMethods, PyDict, PyList, PyListMethods};
154-
#[cfg(all(feature = "macros", not(Py_LIMITED_API)))]
154+
#[cfg(all(feature = "macros", Py_3_8, not(Py_LIMITED_API)))]
155155
use crate::PyErr;
156156
use crate::{IntoPyObject, PyTypeInfo, Python};
157157

@@ -402,7 +402,7 @@ def fibonacci(target):
402402
}
403403

404404
#[test]
405-
#[cfg(all(feature = "macros", not(Py_LIMITED_API)))]
405+
#[cfg(all(feature = "macros", Py_3_8, not(Py_LIMITED_API)))]
406406
fn length_hint_error() {
407407
#[crate::pyfunction(crate = "crate")]
408408
fn test_size_hint(obj: &crate::Bound<'_, crate::PyAny>, should_error: bool) {

0 commit comments

Comments
 (0)