Przeglądaj źródła

fix screenshot filenames (#3241)

benedikt-bartscher 1 rok temu
rodzic
commit
f0a772d08c
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      integration/conftest.py

+ 1 - 1
integration/conftest.py

@@ -51,7 +51,7 @@ def pytest_exception_interact(node, call, report):
     safe_filename = re.sub(
         r"(?u)[^-\w.]",
         "_",
-        str(node.nodeid).strip().replace(" ", "_").replace(":", "_"),
+        str(node.nodeid).strip().replace(" ", "_").replace(":", "_").replace(".py", ""),
     )
 
     try: