Skip to content

Commit

Permalink
remove unnecessary paramters from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
damianbasso committed Feb 15, 2024
1 parent 7769f1c commit f1342ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/graphs/generators/random.py
Original file line number Diff line number Diff line change
Expand Up @@ -1497,7 +1497,7 @@ def RandomKTree(n, k, seed=None):
Traceback (most recent call last):
...
ValueError: k must not be negative
sage: graphs.RandomKTree(2, 5, 1)
sage: graphs.RandomKTree(2, 5)
Traceback (most recent call last):
...
ValueError: n must be greater than k
Expand Down Expand Up @@ -1582,7 +1582,7 @@ def RandomPartialKTree(n, k, x, seed=None):
Traceback (most recent call last):
...
ValueError: k must not be negative
sage: G = graphs.RandomPartialKTree(2, 5, 2, 1)
sage: G = graphs.RandomPartialKTree(2, 5, 2)
Traceback (most recent call last):
...
ValueError: n must be greater than k
Expand Down

0 comments on commit f1342ec

Please sign in to comment.