diff --git a/mixology/version_solver.py b/mixology/version_solver.py index bb56383..26a637b 100644 --- a/mixology/version_solver.py +++ b/mixology/version_solver.py @@ -72,12 +72,8 @@ def solve(self): # type: () -> SolverResult i += 1 - logger.info("Version solving took {:.3f} seconds.\n") - logger.info( - "Tried {} solutions.".format( - time.time() - start, self._solution.attempted_solutions - ) - ) + logger.info("Version solving took {:.3f} seconds.".format(time.time() - start)) + logger.info("Tried {} solutions.".format(self._solution.attempted_solutions)) return SolverResult( self._solution.decisions, self._solution.attempted_solutions diff --git a/tests/package_source.py b/tests/package_source.py index 61f58ba..edf81b6 100644 --- a/tests/package_source.py +++ b/tests/package_source.py @@ -100,6 +100,6 @@ def convert_dependency(self, dependency): # type: (Dependency) -> Constraint ) for range in dependency.constraint.ranges ] - constraint = Union.of(ranges) + constraint = Union.of(*ranges) return Constraint(dependency.name, constraint)