diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-10-26 14:00:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-26 14:00:13 (GMT) |
commit | d94ef8fe94ed192a24a71117c07e6c7b60a8ac6c (patch) | |
tree | aa3021843d428a6ea25179816ed9048a4c13bd0d /Lib/test | |
parent | 2b5cbbb13c6c9138d04c3ca4eb7431f8c65d8e65 (diff) | |
download | cpython-d94ef8fe94ed192a24a71117c07e6c7b60a8ac6c.zip cpython-d94ef8fe94ed192a24a71117c07e6c7b60a8ac6c.tar.gz cpython-d94ef8fe94ed192a24a71117c07e6c7b60a8ac6c.tar.bz2 |
Fix trailing whitespaces in C and Python files. (#4131)
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_code.py | 2 | ||||
-rw-r--r-- | Lib/test/test_inspect.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_code.py b/Lib/test/test_code.py index 6853748..90cb584 100644 --- a/Lib/test/test_code.py +++ b/Lib/test/test_code.py @@ -231,7 +231,7 @@ if check_impl_detail(cpython=True) and ctypes is not None: SetExtra.restype = ctypes.c_int GetExtra = py._PyCode_GetExtra - GetExtra.argtypes = (ctypes.py_object, ctypes.c_ssize_t, + GetExtra.argtypes = (ctypes.py_object, ctypes.c_ssize_t, ctypes.POINTER(ctypes.c_voidp)) GetExtra.restype = ctypes.c_int diff --git a/Lib/test/test_inspect.py b/Lib/test/test_inspect.py index b194b27..bdad386 100644 --- a/Lib/test/test_inspect.py +++ b/Lib/test/test_inspect.py @@ -2021,7 +2021,7 @@ class TestSignatureObject(unittest.TestCase): ((('args', ..., ..., 'var_positional'),), ...)) self.assertEqual(self.signature(A.f3), ((('args', ..., ..., 'var_positional'),), ...)) - self.assertEqual(self.signature(A.f4), + self.assertEqual(self.signature(A.f4), ((('args', ..., ..., 'var_positional'), ('kwargs', ..., ..., 'var_keyword')), ...)) @cpython_only |