Update cluster.py

This commit is contained in:
Vitaly Baranov 2022-07-18 20:49:30 +02:00 committed by GitHub
parent 225a5c3c7e
commit 725ad5bf22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -245,7 +245,7 @@ def extract_test_name(base_path):
if name == "test.py":
name = ""
elif name.startswith("test_") and name.endswith(".py"):
name = name[len("test_"):(len(name)-len(".py"))]
name = name[len("test_") : (len(name) - len(".py"))]
return name