mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[codemod][lint][fbcode/c*] Enable BLACK by default
Test Plan: manual inspection & sandcastle Reviewed By: zertosh Differential Revision: D30279364 fbshipit-source-id: c1ed77dfe43a3bde358f92737cd5535ae5d13c9a
This commit is contained in:
committed by
Facebook GitHub Bot
parent
aac3c7bd06
commit
b004307252
@ -1,6 +1,5 @@
|
||||
def load_tests(loader, standard_tests, pattern):
|
||||
"""Load all tests from `test/pacakge/`
|
||||
"""
|
||||
"""Load all tests from `test/pacakge/`"""
|
||||
if pattern is None:
|
||||
# Use the default pattern if none is specified by the test loader.
|
||||
pattern = "test*.py"
|
||||
@ -11,4 +10,5 @@ def load_tests(loader, standard_tests, pattern):
|
||||
|
||||
if __name__ == "__main__":
|
||||
from torch.testing._internal.common_utils import run_tests
|
||||
|
||||
run_tests()
|
||||
|
Reference in New Issue
Block a user