pyo3/tests
Martin Larralde 99fdafbb88 Allow setting the module name for a pyclass (#499)
* Add `MODULE` const value to `PyTypeInfo` trait

* Allow setting module name in `pyclass` macro arguments

* Add `$module` argument to `pyobject_native_type` macro in `pyo3::types`

* Set the right module for builtin types in `pyo3::types`

* Add `module` argument to example `word_count.WordCounter` class

* Add `module` argument of `pyclass` macro to guide

* Reformat code using `rustfmt`

* Add tests and entry in CHANGELOG.md for `module` argument in `pyclass`

* Make `$module` parameter in `pyobject_native_type` optional

* Make `pyobject_native_type` declare module as `Some("builtins")` by default
2019-06-03 12:18:44 +09:00
..
common.rs Try fixing cargo fmt on travis ci 2019-03-24 17:19:15 +01:00
test_arithmetics.rs Drop support for python2 2019-03-29 12:37:26 +00:00
test_buffer_protocol.rs Drop support for python2 2019-03-29 12:37:26 +00:00
test_class_basics.rs Enable setting the module name of a class 2019-05-08 23:39:22 +02:00
test_class_new.rs Simpler new and clippy fixes 2019-02-23 18:38:00 +01:00
test_datetime.rs Drop support for python2 2019-03-29 12:37:26 +00:00
test_dict_iter.rs Migrate to rust 2018 2019-02-01 14:23:29 +01:00
test_dunder.rs Drop support for python2 2019-03-29 12:37:26 +00:00
test_gc.rs Complete the PR 2019-05-25 23:19:07 +09:00
test_getter_setter.rs Allow omitting PyResult wrapping in property get/set methods 2019-04-17 22:29:12 +02:00
test_inheritance.rs Update tests & docs with IntoPyDict::into_py_dict(py) 2019-03-20 20:04:00 +01:00
test_methods.rs Allow lifetime in pymethods 2019-04-26 14:28:29 +09:00
test_module.rs Allow setting the module name for a pyclass (#499) 2019-06-03 12:18:44 +09:00
test_pyself.rs Add test of slf: PyRefMut<_> 2019-04-23 23:16:09 +09:00
test_sequence.rs Remove dead code from `tests/test_sequence.rs` 2019-03-31 05:29:25 +02:00
test_variable_arguments.rs Less feature(specialization) 2019-02-01 18:09:51 +01:00
test_various.rs Complete the PR 2019-05-25 23:19:07 +09:00