Skip to content

Commit

Permalink
Update unit test and csv_path documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane-caron committed Dec 9, 2024
1 parent 8957201 commit f455b0a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion qpbenchmark/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ def __init__(
"""Initialize results.
Args:
csv_path: Path to the results CSV file.
csv_path: Path to the results CSV file, or `None` if there is no
file associated with these results.
test_set: Test set from which results were produced.
"""
df = pandas.DataFrame(
Expand Down
2 changes: 1 addition & 1 deletion tests/test_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

class TestReport(unittest.TestCase):
def setUp(self):
self.results = Results(csv_path="", test_set=CustomTestSet())
self.results = Results(csv_path=None, test_set=CustomTestSet())
self.report = Report(author="foobar", results=self.results)

def test_author(self):
Expand Down

0 comments on commit f455b0a

Please sign in to comment.