Drop tests for implicit float to int conversions #108

Neither Python nor Rust has implicit float to integer conversions
(they mask programming errors), so it would make sense for the
bindings library to disallow them as well.

Later there will be tests that such conversions result in TypeError.
This commit is contained in:
Vlad Shcherbina 2018-02-11 18:19:21 +03:00
parent b4f7273474
commit f8e503f3b7
1 changed files with 0 additions and 4 deletions

View File

@ -98,9 +98,5 @@ mod test {
num_to_py_object_and_back!(to_from_f64, f64, f64);
num_to_py_object_and_back!(to_from_f32, f32, f32);
num_to_py_object_and_back!(float_to_i32, f64, i32);
num_to_py_object_and_back!(float_to_u32, f64, u32);
num_to_py_object_and_back!(float_to_i64, f64, i64);
num_to_py_object_and_back!(float_to_u64, f64, u64);
num_to_py_object_and_back!(int_to_float, i32, f64);
}