Skip to content

Commit 84f16b1

Browse files
committed
added tests
1 parent fd9b4e4 commit 84f16b1

File tree

3 files changed

+24
-2
lines changed

3 files changed

+24
-2
lines changed

doc/whatsnew/fragments/10373.bugfix

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Fixed a bug in Pyreverse where aggregations and associations were included in diagrams regardless of the selected --filter-mode (such as PUB_ONLY, ALL, etc.).
1+
Fix a bug in Pyreverse where aggregations and associations were included in diagrams regardless of the selected --filter-mode (such as PUB_ONLY, ALL, etc.).
22

3-
closes #10373
3+
Closes #10373
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
class P:
2+
pass
3+
4+
class A:
5+
x: P = P()
6+
7+
class B:
8+
__x: P = P()
9+
10+
class C:
11+
_y: P = P()
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
classDiagram
2+
class A {
3+
x
4+
}
5+
class B {
6+
}
7+
class C {
8+
}
9+
class P {
10+
}
11+
P --* A : x

0 commit comments

Comments
 (0)