FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pythonnet/src/embed_tests/ClassManagerTests.cs at v3.2.0-rc2 · pythonnet/pythonnet · GitHub
pythonnet
pythonnet
Repository navigation
Code
Issues
147
(147)
Pull requests
11
(11)
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
pythonnet
/
src
/
embed_tests
/
ClassManagerTests.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
28 lines (24 loc) · 563 Bytes
Breadcrumbs
pythonnet
/
src
/
embed_tests
/
ClassManagerTests.cs
Copy path
File metadata and controls
28 lines (24 loc) · 563 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using
NUnit
.
Framework
;
using
Python
.
Runtime
;
namespace
Python
.
EmbeddingTest
{
public
class
ClassManagerTests
{
[
Test
]
public
void
NestedClassDerivingFromParent
(
)
{
var
f
=
new
NestedTestContainer
(
)
.
ToPython
(
)
;
f
.
GetAttr
(
nameof
(
NestedTestContainer
.
Bar
)
)
;
}
}
public
class
NestedTestParent
{
public
class
Nested
:
NestedTestParent
{
}
}
public
class
NestedTestContainer
{
public
NestedTestParent
Bar
=
new
NestedTestParent
.
Nested
(
)
;
}
}
Back
|
FazBrowse Home
|
New Git URL