GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Remove module name workaround in doctests · elide-dev/graalpython@4c3d679

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • graalpython
    • com.oracle.graal.python.test/src/tests/unittest_tags
      • test_descrtut.txt
      • test_metaclass.txt
      • test_unpack.txt
    • lib-python/3/test
      • test_descrtut.py
      • test_metaclass.py
      • test_unpack.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: graalpython/com.oracle.graal.python.test/src/tests/unittest_tags/test_descrtut.txt
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
DocTestCase.test.test_descrtut.__test__.tut1
12
DocTestCase.test.test_descrtut.__test__.tut2
3+
DocTestCase.test.test_descrtut.__test__.tut4
24
DocTestCase.test.test_descrtut.__test__.tut5
35
DocTestCase.test.test_descrtut.__test__.tut6
46
DocTestCase.test.test_descrtut.__test__.tut7
Collapse file

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

Copy file name to clipboard
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
DocTestCase.test.test_metaclass.__test__.doctests
12
test.test_metaclass.TestMain.test_main
Collapse file

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

Copy file name to clipboard
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
DocTestCase.test.test_unpack.__test__.doctests
12
test.test_unpack.TestCornerCases.test_extended_oparg_not_ignored
23
test.test_unpack.TestMain.test_main
Collapse file

‎graalpython/lib-python/3/test/test_descrtut.py‎

Copy file name to clipboardExpand all lines: graalpython/lib-python/3/test/test_descrtut.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def merge(self, other):
100100
>>> print(sortdict(a.__dict__))
101101
{'default': -1000, 'x1': 100, 'x2': 200}
102102
>>>
103-
""".replace("test.test_descrtut", "graalpython.lib-python.3.test.test_descrtut") # GraalPy: an artifact of how we run tests
103+
"""
104104

105105
class defaultdict2(dict):
106106
__slots__ = ['default']
@@ -303,7 +303,7 @@ class passed as the first argument of foo() is the class involved in the
303303
specifies the class C. But it stresses the difference between these class
304304
methods and methods defined in metaclasses (where an upcall to a metamethod
305305
would pass the target class as an explicit first argument).
306-
""".replace("test.test_descrtut", "graalpython.lib-python.3.test.test_descrtut") # GraalPy: an artifact of how we run tests
306+
"""
307307

308308
test_5 = """
309309
Collapse file

‎graalpython/lib-python/3/test/test_metaclass.py‎

Copy file name to clipboardExpand all lines: graalpython/lib-python/3/test/test_metaclass.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@
250250
[...]
251251
test.test_metaclass.ObscureException
252252
253-
""".replace('test.test_metaclass', 'graalpython.lib-python.3.test.test_metaclass') # GraalPy change: difference in how we run the tests
253+
"""
254254

255255
import sys
256256

Collapse file

‎graalpython/lib-python/3/test/test_unpack.py‎

Copy file name to clipboardExpand all lines: graalpython/lib-python/3/test/test_unpack.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
...
143143
ValueError: too many values to unpack (expected 0)
144144
145-
""".replace('test.test_unpack', 'graalpython.lib-python.3.test.test_unpack') # GraalPy change: difference due to how we run tests
145+
"""
146146

147147
__test__ = {'doctests' : doctests}
148148

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.