Skip to content

Commit

Permalink
prevents "save_coverage() takes 0 positional arguments but 2 were given"
Browse files Browse the repository at this point in the history
  • Loading branch information
smirolo committed Sep 28, 2024
1 parent 0ea2bb6 commit f8f6771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testsite/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#pylint: disable=invalid-name

def save_coverage():
def save_coverage(*args):
sys.stderr.write("saving coverage\n")
cov.stop()
cov.save()
Expand Down

0 comments on commit f8f6771

Please sign in to comment.