mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Fix global flake8 issues (#124771)
Prior to this `lintrunner --all-files --take FLAKE8` failed. Pull Request resolved: https://github.com/pytorch/pytorch/pull/124771 Approved by: https://github.com/Skylion007 ghstack dependencies: #124428
This commit is contained in:
committed by
PyTorch MergeBot
parent
609c958281
commit
a8574a9719
@ -70,7 +70,7 @@ class TestFuser(JitTestCase):
|
||||
@unittest.skipIf(IS_SANDCASTLE, "NYI: fuser CPU support for Sandcastle")
|
||||
@enable_cpu_fuser
|
||||
def test_abs_cpu_unicode_temp_dir(self):
|
||||
with TemporaryDirectoryName(suffix='中文') as dname:
|
||||
with TemporaryDirectoryName(suffix='\u4e2d\u6587') as dname:
|
||||
shell_env = os.environ.copy()
|
||||
shell_env['TMP'] = dname
|
||||
cmd = [sys.executable, os.path.basename(__file__), type(self).__name__ + '.test_abs_cpu']
|
||||
|
Reference in New Issue
Block a user