FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pythonnet/src/embed_tests/pyobject.cs at pypy · attackgithub/pythonnet · GitHub
attackgithub
pythonnet
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
pythonnet
/
src
/
embed_tests
/
pyobject.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
18 lines (17 loc) · 365 Bytes
Breadcrumbs
pythonnet
/
src
/
embed_tests
/
pyobject.cs
Copy path
File metadata and controls
18 lines (17 loc) · 365 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
using
NUnit
.
Framework
;
using
Python
.
Runtime
;
namespace
Python
.
EmbeddingTest
{
public
class
PyObjectTest
{
[
Test
]
public
void
TestUnicode
(
)
{
using
(
Py
.
GIL
(
)
)
{
PyObject
s
=
new
PyString
(
"foo
\u00e9
"
)
;
Assert
.
AreEqual
(
"foo
\u00e9
"
,
s
.
ToString
(
)
)
;
}
}
}
}
Back
|
FazBrowse Home
|
New Git URL