FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pythonnet/src/tests/test_recursive_types.py at master · xposure/pythonnet · GitHub
xposure
pythonnet
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
pythonnet
/
src
/
tests
/
test_recursive_types.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
12 lines (8 loc) · 341 Bytes
Breadcrumbs
pythonnet
/
src
/
tests
/
test_recursive_types.py
Copy path
File metadata and controls
12 lines (8 loc) · 341 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
# -*- coding: utf-8 -*-
"""Test if interop with recursive type inheritance works."""
def
test_recursive_type_creation
():
"""Test that a recursive types don't crash with a
StackOverflowException"""
from
Python
.
Test
import
RecursiveInheritance
test_instance
=
RecursiveInheritance
.
SubClass
()
test_instance
.
SomeMethod
()
Back
|
FazBrowse Home
|
New Git URL