• Jack S. Hale's avatar
    Add const T to docstring generation. (#3020) · 4c7697db
    Jack S. Hale authored
    
    
    * Add const T to docstring generation.
    
    * Change order.
    
    * See if existing test triggers for a const type.
    
    * Add tests.
    
    * Fix test.
    
    * Remove experiment.
    
    * Reformat.
    
    * More tests, checks run.
    
    * Adding `test_fmt_desc_` prefix to new test functions.
    
    * Using pytest.mark.parametrize to 1. condense test; 2. exercise all functions even if one fails; 3. be less platform-specific (e.g. C++ float is not necessarily float32).
    Co-authored-by: default avatarRalf W. Grosse-Kunstleve <rwgk@google.com>
    4c7697db
test_numpy_array.py 18.5 KB