Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
minor fixes
  • Loading branch information
lostmsu committed Feb 24, 2021
commit ac68aab1374b2553e05e6e4cec87753e83c15f41
2 changes: 1 addition & 1 deletion src/embed_tests/GlobalTestsSetup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Python.EmbeddingTest
// As the SetUpFixture, the OneTimeTearDown of this class is executed after
// all tests have run.
[SetUpFixture]
public class GlobalTestsSetup
public partial class GlobalTestsSetup
{
[OneTimeTearDown]
public void FinalCleanup()
Expand Down
2 changes: 1 addition & 1 deletion src/embed_tests/TestNativeTypeOffset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

using Python.Runtime;

namespace Python.EmbeddingPythonTest
namespace Python.EmbeddingTest
{
public class TestNativeTypeOffset
{
Expand Down
5 changes: 1 addition & 4 deletions src/runtime/pystring.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,8 @@ public PyString(string s) : base(FromString(s))


/// <summary>
/// IsStringType Method
/// </summary>
/// <remarks>
/// Returns true if the given object is a Python string.
/// </remarks>
/// </summary>
public static bool IsStringType(PyObject value)
{
return Runtime.PyString_Check(value.obj);
Expand Down