From 0f41b1197c646ea72a76e8466441995bfba3b61a Mon Sep 17 00:00:00 2001 From: Alex Remedios Date: Mon, 23 Dec 2024 17:37:58 +0000 Subject: [PATCH] give test descriptive name --- src/nbmake/pytest_items.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nbmake/pytest_items.py b/src/nbmake/pytest_items.py index bbbcc00..685b04f 100644 --- a/src/nbmake/pytest_items.py +++ b/src/nbmake/pytest_items.py @@ -37,7 +37,7 @@ class NotebookItem(pytest.Item): nbmake = True def __init__(self, parent: Any, filename: str): - super().__init__("", parent) + super().__init__(parent.name, parent) self.filename = filename def runtest(self):