Skip to content

Commit 05d720b

Browse files
committed
Retag doctests
1 parent 534db89 commit 05d720b

25 files changed

+188
-2
lines changed

graalpython/com.oracle.graal.python.test/src/tests/unittest_tags/test_builtin.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
DocTestCase.builtins.zip
12
test.test_builtin.BuiltinTest.test_abs
23
test.test_builtin.BuiltinTest.test_all
34
test.test_builtin.BuiltinTest.test_any
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
DocTestCase.test.test_cmd.samplecmdclass
12
test.test_cmd.TestAlternateInput.test_file_with_missing_final_nl
23
test.test_cmd.TestAlternateInput.test_input_reset_at_EOF
34
test.test_cmd.TestMain.test_main

graalpython/com.oracle.graal.python.test/src/tests/unittest_tags/test_code.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
DocTestCase.test.test_code
12
test.test_code.CodeConstsTest.test_interned_string
23
test.test_code.CodeConstsTest.test_interned_string_default
34
test.test_code.CodeConstsTest.test_interned_string_in_frozenset

graalpython/com.oracle.graal.python.test/src/tests/unittest_tags/test_collections.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
DocTestCase.collections.Counter
2+
DocTestCase.collections.Counter.__add__
3+
DocTestCase.collections.Counter.__and__
4+
DocTestCase.collections.Counter.__iadd__
5+
DocTestCase.collections.Counter.__iand__
6+
DocTestCase.collections.Counter.__init__
7+
DocTestCase.collections.Counter.__ior__
8+
DocTestCase.collections.Counter.__isub__
9+
DocTestCase.collections.Counter.__or__
10+
DocTestCase.collections.Counter.__sub__
11+
DocTestCase.collections.Counter.elements
12+
DocTestCase.collections.Counter.most_common
13+
DocTestCase.collections.Counter.subtract
14+
DocTestCase.collections.Counter.update
15+
DocTestCase.collections.namedtuple
116
test.test_collections.TestChainMap.test_basics
217
test.test_collections.TestChainMap.test_bool
318
test.test_collections.TestChainMap.test_constructor

graalpython/com.oracle.graal.python.test/src/tests/unittest_tags/test_decimal.txt

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,68 @@
1+
DocTestCase.decimal
2+
DocTestCase.decimal.Context.abs
3+
DocTestCase.decimal.Context.add
4+
DocTestCase.decimal.Context.canonical
5+
DocTestCase.decimal.Context.compare
6+
DocTestCase.decimal.Context.compare_signal
7+
DocTestCase.decimal.Context.compare_total
8+
DocTestCase.decimal.Context.copy_abs
9+
DocTestCase.decimal.Context.copy_decimal
10+
DocTestCase.decimal.Context.copy_negate
11+
DocTestCase.decimal.Context.copy_sign
12+
DocTestCase.decimal.Context.create_decimal_from_float
13+
DocTestCase.decimal.Context.divide
14+
DocTestCase.decimal.Context.divide_int
15+
DocTestCase.decimal.Context.divmod
16+
DocTestCase.decimal.Context.exp
17+
DocTestCase.decimal.Context.fma
18+
DocTestCase.decimal.Context.is_canonical
19+
DocTestCase.decimal.Context.is_finite
20+
DocTestCase.decimal.Context.is_infinite
21+
DocTestCase.decimal.Context.is_nan
22+
DocTestCase.decimal.Context.is_normal
23+
DocTestCase.decimal.Context.is_qnan
24+
DocTestCase.decimal.Context.is_signed
25+
DocTestCase.decimal.Context.is_snan
26+
DocTestCase.decimal.Context.is_subnormal
27+
DocTestCase.decimal.Context.is_zero
28+
DocTestCase.decimal.Context.ln
29+
DocTestCase.decimal.Context.log10
30+
DocTestCase.decimal.Context.logb
31+
DocTestCase.decimal.Context.logical_and
32+
DocTestCase.decimal.Context.logical_invert
33+
DocTestCase.decimal.Context.logical_or
34+
DocTestCase.decimal.Context.logical_xor
35+
DocTestCase.decimal.Context.max
36+
DocTestCase.decimal.Context.max_mag
37+
DocTestCase.decimal.Context.min
38+
DocTestCase.decimal.Context.min_mag
39+
DocTestCase.decimal.Context.minus
40+
DocTestCase.decimal.Context.multiply
41+
DocTestCase.decimal.Context.next_minus
42+
DocTestCase.decimal.Context.next_plus
43+
DocTestCase.decimal.Context.next_toward
44+
DocTestCase.decimal.Context.normalize
45+
DocTestCase.decimal.Context.number_class
46+
DocTestCase.decimal.Context.plus
47+
DocTestCase.decimal.Context.power
48+
DocTestCase.decimal.Context.quantize
49+
DocTestCase.decimal.Context.radix
50+
DocTestCase.decimal.Context.remainder
51+
DocTestCase.decimal.Context.remainder_near
52+
DocTestCase.decimal.Context.rotate
53+
DocTestCase.decimal.Context.same_quantum
54+
DocTestCase.decimal.Context.scaleb
55+
DocTestCase.decimal.Context.shift
56+
DocTestCase.decimal.Context.sqrt
57+
DocTestCase.decimal.Context.subtract
58+
DocTestCase.decimal.Context.to_eng_string
59+
DocTestCase.decimal.Context.to_integral_exact
60+
DocTestCase.decimal.Context.to_integral_value
61+
DocTestCase.decimal.Decimal.__new__
62+
DocTestCase.decimal.Decimal.__round__
63+
DocTestCase.decimal.Decimal.as_integer_ratio
64+
DocTestCase.decimal.Decimal.from_float
65+
DocTestCase.decimal.localcontext
166
test.test_decimal.CArithmeticOperatorsTest.test_addition
267
test.test_decimal.CArithmeticOperatorsTest.test_copy_sign
368
test.test_decimal.CArithmeticOperatorsTest.test_division

graalpython/com.oracle.graal.python.test/src/tests/unittest_tags/test_deque.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
DocTestCase.test.test_deque.__test__.libreftest
12
test.test_deque.TestBasic.test_add
23
test.test_deque.TestBasic.test_basics
34
test.test_deque.TestBasic.test_big_queue_popleft
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1+
DocTestCase.test.test_descrtut.__test__.tut2
2+
DocTestCase.test.test_descrtut.__test__.tut5
3+
DocTestCase.test.test_descrtut.__test__.tut6
4+
DocTestCase.test.test_descrtut.__test__.tut7
5+
DocTestCase.test.test_descrtut.__test__.tut8
16
test.test_descrtut.TestMain.test_main

graalpython/com.oracle.graal.python.test/src/tests/unittest_tags/test_difflib.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
DocTestCase.difflib.Differ
2+
DocTestCase.difflib.Differ._fancy_replace
3+
DocTestCase.difflib.Differ._qformat
4+
DocTestCase.difflib.Differ.compare
5+
DocTestCase.difflib.IS_CHARACTER_JUNK
6+
DocTestCase.difflib.IS_LINE_JUNK
7+
DocTestCase.difflib.SequenceMatcher
8+
DocTestCase.difflib.SequenceMatcher.find_longest_match
9+
DocTestCase.difflib.SequenceMatcher.get_grouped_opcodes
10+
DocTestCase.difflib.SequenceMatcher.get_matching_blocks
11+
DocTestCase.difflib.SequenceMatcher.get_opcodes
12+
DocTestCase.difflib.SequenceMatcher.ratio
13+
DocTestCase.difflib.SequenceMatcher.set_seq1
14+
DocTestCase.difflib.SequenceMatcher.set_seq2
15+
DocTestCase.difflib.SequenceMatcher.set_seqs
16+
DocTestCase.difflib.context_diff
17+
DocTestCase.difflib.get_close_matches
18+
DocTestCase.difflib.ndiff
19+
DocTestCase.difflib.restore
20+
DocTestCase.difflib.unified_diff
121
test.test_difflib.TestAutojunk.test_one_insert_homogenous_sequence
222
test.test_difflib.TestBytes.test_byte_content
323
test.test_difflib.TestBytes.test_byte_filenames

graalpython/com.oracle.graal.python.test/src/tests/unittest_tags/test_distutils.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
DocTestCase.distutils.versionpredicate.VersionPredicate
2+
DocTestCase.distutils.versionpredicate.split_provision
13
distutils.tests.test_archive_util.ArchiveUtilTestCase.test_check_archive_formats
24
distutils.tests.test_archive_util.ArchiveUtilTestCase.test_compress_deprecated
35
distutils.tests.test_archive_util.ArchiveUtilTestCase.test_make_archive
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,17 @@
1+
DocTestCase.doctest.DebugRunner
2+
DocTestCase.doctest.DocTestCase.debug
3+
DocTestCase.doctest.DocTestRunner
4+
DocTestCase.doctest._TestClass
5+
DocTestCase.doctest._TestClass.__init__
6+
DocTestCase.doctest._TestClass.get
7+
DocTestCase.doctest._TestClass.square
8+
DocTestCase.doctest.__test__.blank lines
9+
DocTestCase.doctest.__test__.bool-int equivalence
10+
DocTestCase.doctest.__test__.ellipsis
11+
DocTestCase.doctest.__test__.string
12+
DocTestCase.doctest.__test__.whitespace normalization
13+
DocTestCase.doctest._ellipsis_match
14+
DocTestCase.doctest.script_from_examples
15+
DocTestCase.doctest.set_unittest_reportflags
116
test.test_doctest.TestDocTestFinder.test_empty_namespace_package
217
test.test_doctest.TestDocTestFinder.test_issue35753

0 commit comments

Comments
 (0)