summaryrefslogtreecommitdiff
path: root/networkx/algorithms/centrality/tests/test_reaching.py
Commit message (Collapse)AuthorAgeFilesLines
* Improve test coverage for reaching.py (#6678)Vanshika Mishra2023-05-021-0/+8
|
* Use pytest.approx (#4827)Jarrod Millman2021-05-211-2/+1
| | | | | * Use pytest.approx * Deprecate almost_equal
* Don't import nx from networkx (#4403)Jarrod Millman2020-12-011-1/+1
|
* Format w/ blackJarrod Millman2020-07-101-8/+10
|
* Remove boiler plate from top of modulesJarrod Millman2019-11-111-6/+0
| | | | | | | | | The copyright and author stuff is not necessary, out-of-date, and inconsistent. It takes up visual space and is a pain to police everyone doing the same thing on the top of the module. Git handles authorship in a comprehensive and authoritative way. The LICENSE.txt file applies to all project code.
* PEP8 fixes to testsJarrod Millman2019-10-181-0/+1
|
* Replace nose.raises with pytest.raises context managerJarrod Millman2019-10-121-21/+20
|
* Remove unused importsJarrod Millman2019-10-121-1/+1
|
* Convert nose.tools.assert_* functions into assertsJarrod Millman2019-10-121-10/+10
|
* Remove future imports needed by Py2Jarrod Millman2019-09-181-1/+0
|
* Update copyrightJarrod Millman2019-03-301-1/+1
|
* Update copyrightJarrod Millman2018-01-201-1/+1
|
* Use weight=None in Centrality Algorithms rather than weight="weight" (#2326)Michael E. Rose2017-07-011-35/+26
| | | | | | | | * Update release notes for centrality default behavior * Harmonize weight parameter to None; apply PEP8 * Update tests for different weight parameter; apply PEP8
* Remove attr_dict from add_node, add_edgethegreathippo2016-05-011-1/+1
| | | | | | | In doing so, I found a few attr_dict assignments I missed, and cleaned up in a few spots. I also made sure to use the update method rather than keyword assignment in json_graph/adjacency.py to allow for some (likely VERY corner) cases where edge and node attributes might not be strings.
* Adds global/local reaching centrality functions.Jeffrey Finkelstein2016-04-211-0/+124