summaryrefslogtreecommitdiffstats
path: root/tests/roots/test-inheritance/dummy/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/roots/test-inheritance/dummy/test.py')
-rw-r--r--tests/roots/test-inheritance/dummy/test.py35
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/roots/test-inheritance/dummy/test.py b/tests/roots/test-inheritance/dummy/test.py
new file mode 100644
index 0000000..12fe8d9
--- /dev/null
+++ b/tests/roots/test-inheritance/dummy/test.py
@@ -0,0 +1,35 @@
+r"""
+
+ Test with a class diagram like this::
+
+ A
+ / \
+ B C
+ / \ / \
+ E D F
+
+"""
+
+
+class A:
+ pass
+
+
+class B(A):
+ pass
+
+
+class C(A):
+ pass
+
+
+class D(B, C):
+ pass
+
+
+class E(B):
+ pass
+
+
+class F(C):
+ pass