From d458669e8cc758e929bce8fd562163f94286bb21 Mon Sep 17 00:00:00 2001 From: Dean Li Date: Sun, 13 Jun 2021 13:47:54 +0800 Subject: [PATCH] os: Fix test for lstat --- Lib/test/test_os.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index 85f124e75..cf474cbb7 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -3630,15 +3630,13 @@ class PathTConverterTests(unittest.TestCase): # function, cleanup function) functions = [ ('stat', True, (), None), - ('lstat', False, (), None), + ('lstat', True, (), None), ('access', False, (os.F_OK,), None), ('chflags', False, (0,), None), ('lchflags', False, (0,), None), ('open', False, (0,), getattr(os, 'close', None)), ] - # TODO: RUSTPYTHON - @unittest.expectedFailure def test_path_t_converter(self): str_filename = support.TESTFN if os.name == 'nt':