Explorar o código

fix screenshot filenames (#3241)

benedikt-bartscher hai 1 ano
pai
achega
f0a772d08c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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(
     safe_filename = re.sub(
         r"(?u)[^-\w.]",
         r"(?u)[^-\w.]",
         "_",
         "_",
-        str(node.nodeid).strip().replace(" ", "_").replace(":", "_"),
+        str(node.nodeid).strip().replace(" ", "_").replace(":", "_").replace(".py", ""),
     )
     )
 
 
     try:
     try: