mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Added test for correct nested class name in inheritance diagram
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
Diagram with Nested Classes
|
||||
===========================
|
||||
|
||||
.. inheritance-diagram::
|
||||
dummy.test_nested
|
||||
14
tests/roots/test-inheritance/dummy/test_nested.py
Normal file
14
tests/roots/test-inheritance/dummy/test_nested.py
Normal file
@@ -0,0 +1,14 @@
|
||||
r"""
|
||||
|
||||
Test with nested classes.
|
||||
|
||||
"""
|
||||
|
||||
|
||||
class A(object):
|
||||
class B(object):
|
||||
pass
|
||||
|
||||
|
||||
class C(A.B):
|
||||
pass
|
||||
Reference in New Issue
Block a user