diff options
Diffstat (limited to 'Lib/test')
| -rw-r--r-- | Lib/test/dtracedata/call_stack.d | 4 | ||||
| -rw-r--r-- | Lib/test/test_inspect.py | 2 | ||||
| -rw-r--r-- | Lib/test/tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt | 2 | ||||
| -rw-r--r-- | Lib/test/tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt | 2 | ||||
| -rw-r--r-- | Lib/test/tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt | 2 | ||||
| -rw-r--r-- | Lib/test/tokenize_tests.txt | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/Lib/test/dtracedata/call_stack.d b/Lib/test/dtracedata/call_stack.d index 450e939..761d30f 100644 --- a/Lib/test/dtracedata/call_stack.d +++ b/Lib/test/dtracedata/call_stack.d @@ -10,7 +10,7 @@ python$target:::function-entry /self->trace/ { printf("%d\t%*s:", timestamp, 15, probename); - printf("%*s", self->indent, ""); + printf("%*s", self->indent, ""); printf("%s:%s:%d\n", basename(copyinstr(arg0)), copyinstr(arg1), arg2); self->indent++; } @@ -20,7 +20,7 @@ python$target:::function-return { self->indent--; printf("%d\t%*s:", timestamp, 15, probename); - printf("%*s", self->indent, ""); + printf("%*s", self->indent, ""); printf("%s:%s:%d\n", basename(copyinstr(arg0)), copyinstr(arg1), arg2); } diff --git a/Lib/test/test_inspect.py b/Lib/test/test_inspect.py index 350d5db..7cc1e78 100644 --- a/Lib/test/test_inspect.py +++ b/Lib/test/test_inspect.py @@ -2018,7 +2018,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 diff --git a/Lib/test/tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt b/Lib/test/tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt index dc7c5f0..1b5335b 100644 --- a/Lib/test/tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt +++ b/Lib/test/tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt @@ -1,5 +1,5 @@ # -*- coding: latin1 -*- -# IMPORTANT: this file has the utf-8 BOM signature '\xef\xbb\xbf' +# IMPORTANT: this file has the utf-8 BOM signature '\xef\xbb\xbf' # at the start of it. Make sure this is preserved if any changes # are made! Also note that the coding cookie above conflicts with # the presence of a utf-8 BOM signature -- this is intended. diff --git a/Lib/test/tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt b/Lib/test/tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt index 81931c4..23fd216 100644 --- a/Lib/test/tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt +++ b/Lib/test/tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt @@ -1,4 +1,4 @@ -# IMPORTANT: this file has the utf-8 BOM signature '\xef\xbb\xbf' +# IMPORTANT: this file has the utf-8 BOM signature '\xef\xbb\xbf' # at the start of it. Make sure this is preserved if any changes # are made! diff --git a/Lib/test/tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt b/Lib/test/tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt index 74568a7..4b20ff6 100644 --- a/Lib/test/tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt +++ b/Lib/test/tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# IMPORTANT: this file has the utf-8 BOM signature '\xef\xbb\xbf' +# IMPORTANT: this file has the utf-8 BOM signature '\xef\xbb\xbf' # at the start of it. Make sure this is preserved if any changes # are made! diff --git a/Lib/test/tokenize_tests.txt b/Lib/test/tokenize_tests.txt index 2c5fb10..c4f5a58 100644 --- a/Lib/test/tokenize_tests.txt +++ b/Lib/test/tokenize_tests.txt @@ -1,5 +1,5 @@ # Tests for the 'tokenize' module. -# Large bits stolen from test_grammar.py. +# Large bits stolen from test_grammar.py. # Comments "#" |
