Skip to content

Commit ef9f070

Browse files
committed
unstable
1 parent b2f469f commit ef9f070

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

onnx_diagnostic/ext_test_case.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,14 +399,14 @@ def has_cuda() -> bool:
399399
return torch.cuda.device_count() > 0
400400

401401

402-
def requires_python(version: Tuple[int,...], msg: str = ""):
402+
def requires_python(version: Tuple[int, ...], msg: str = ""):
403403
"""
404404
Skips a test if python is too old.
405405
406406
:param msg: to overwrite the message
407407
:param version: minimum version
408408
"""
409-
if sys.version_info[:len(version)] < version:
409+
if sys.version_info[: len(version)] < version:
410410
return unittest.skip(msg or f"python not recent enough {sys.version_info} < {version}")
411411
return lambda x: x
412412

0 commit comments

Comments
 (0)