-
Notifications
You must be signed in to change notification settings - Fork 538
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose uv_loop_t pointer for integration with other C-extensions
- Loading branch information
1 parent
35f8250
commit becc37c
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
from uvloop import _testbase as tb | ||
|
||
class Test_UV_Pointers(tb.UVTestCase): | ||
def test_get_uvloop_ptr(self): | ||
self.assertGreater(self.new_loop().get_uvloop_ptr(), 0) | ||
|
||
def test_get_uvloop_ptr_capsule(self): | ||
self.assertIsNotNone(self.new_loop().get_uvloop_ptr_capsule()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters