Skip to content

Commit

Permalink
pytests: Add missing calls to add_function in datetime test.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamreichold committed Apr 13, 2022
1 parent a1f97f1 commit 23f0c10
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pytests/src/datetime.rs
Expand Up @@ -224,6 +224,8 @@ pub fn datetime(_py: Python<'_>, m: &PyModule) -> PyResult<()> {
m.add_function(wrap_pyfunction!(make_datetime, m)?)?;
m.add_function(wrap_pyfunction!(get_datetime_tuple, m)?)?;
m.add_function(wrap_pyfunction!(datetime_from_timestamp, m)?)?;
m.add_function(wrap_pyfunction!(get_datetime_tzinfo, m)?)?;
m.add_function(wrap_pyfunction!(get_time_tzinfo, m)?)?;

// Functions not supported by PyPy
#[cfg(not(PyPy))]
Expand Down

0 comments on commit 23f0c10

Please sign in to comment.