Skip to content
Draft
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions newsfragments/5352.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fill `PyTypeInfo::NAME` with Pythonic values (e.g. BasedException) instead of C ones (e.g. PyBasedException)
1 change: 1 addition & 0 deletions src/conversions/chrono.rs
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,7 @@ mod tests {
});
}

#[cfg(not(Py_LIMITED_API))]
#[test]
fn test_invalid_types_fail() {
// Test that if a user tries to convert a python's timezone aware datetime into a naive
Expand Down
1 change: 1 addition & 0 deletions src/conversions/jiff.rs
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,7 @@ mod tests {
});
}

#[cfg(not(Py_LIMITED_API))]
#[test]
fn test_invalid_types_fail() {
Python::attach(|py| {
Expand Down
Loading
Loading