Skip to content

Commit

Permalink
Skip tests for m120:withdrawn from public API
Browse files Browse the repository at this point in the history
  • Loading branch information
HinTak committed Nov 2, 2023
1 parent 67de5f4 commit fc03eba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_font.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ def test_Typeface_getBounds(typeface):
assert isinstance(typeface.getBounds(), skia.Rect)


@pytest.mark.skip(reason='m120:withdrawn from public API')
def test_Typeface_UniqueID(typeface):
assert isinstance(skia.Typeface.UniqueID(typeface), int)

Expand Down Expand Up @@ -431,6 +432,7 @@ def test_Font_getTypeface(font):
assert isinstance(font.getTypeface(), (skia.Typeface, type(None)))


@pytest.mark.skip(reason='m120:withdrawn from public API')
def test_Font_getTypefaceOrDefault(font):
assert isinstance(font.getTypefaceOrDefault(), skia.Typeface)

Expand All @@ -455,6 +457,7 @@ def test_Font_refTypeface(font):
assert isinstance(font.refTypeface(), (skia.Typeface, type(None)))


@pytest.mark.skip(reason='m120:withdrawn from public API')
def test_Font_refTypefaceOrDefault(font):
assert isinstance(font.refTypefaceOrDefault(), skia.Typeface)

Expand Down
2 changes: 2 additions & 0 deletions tests/test_grcontext.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ def backend_semaphore():
return skia.GrBackendSemaphore()


@pytest.mark.skip(reason='m120:withdrawn from public API')
def test_GrBackendSemaphore_initGL(backend_semaphore):
backend_semaphore.initGL(None)

Expand All @@ -21,6 +22,7 @@ def test_GrBackendSemaphore_isInitialized(backend_semaphore):
assert isinstance(backend_semaphore.isInitialized(), bool)


@pytest.mark.skip(reason='m120:withdrawn from public API')
def test_GrBackendSemaphore_glSync(backend_semaphore):
backend_semaphore.glSync()

Expand Down

0 comments on commit fc03eba

Please sign in to comment.