Showing 1 of 2 files from the diff.

@@ -92,7 +92,11 @@
Loading
92 92
    def union(self, *objects):
93 93
        """Find the sets containing the objects and merge them all."""
94 94
        # Find the heaviest root according to its weight.
95 -
        roots = iter(sorted({self[x] for x in objects}, key=lambda r: self.weights[r]))
95 +
        roots = iter(
96 +
            sorted(
97 +
                {self[x] for x in objects}, key=lambda r: self.weights[r], reverse=True
98 +
            )
99 +
        )
96 100
        try:
97 101
            root = next(roots)
98 102
        except StopIteration:
Files Coverage
networkx 93.56%
Project Totals (275 files) 93.56%
7075.1
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux
7074.1
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux
1
# Allow coverage to decrease by 0.05%.
2
coverage:
3
  status:
4
    project:
5
      default:
6
        threshold: 0.05%
7

8
# Don't post a comment on pull requests.
9
comment: off
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading