Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Commit 23914ee

Browse files
author
DEKHTIARJonathan
committed
YAPF Formatting Updated
1 parent 4c8434f commit 23914ee

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

tests/utils.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
from glob import glob, iglob
99

1010
__all__ = [
11-
'CustomTestCase',
12-
'list_all_py_files',
11+
"CustomTestCase",
12+
"list_all_py_files",
1313
]
1414

1515

@@ -20,14 +20,17 @@ def assertNotRaises(self, exc_type):
2020
try:
2121
yield None
2222
except exc_type:
23-
raise self.failureException('{} raised'.format(exc_type.__name__))
23+
raise self.failureException(f"{exc_type.__name__} raised")
2424

2525

2626
_excludes_paths = ["tftrt/blog_posts/"]
2727

2828

2929
def list_all_py_files():
30-
for _dir in ['tests', 'tftrt']:
30+
for _dir in [
31+
"tests",
32+
os.path.join("tftrt", "benchmarking-python")
33+
]:
3134
for _file in iglob(f"{_dir}/**/*.py", recursive=True):
3235
if any([path in _file for path in _excludes_paths]):
3336
continue

0 commit comments

Comments
 (0)