Skip to content

Commit

Permalink
Fixed a failing pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesMakela committed Sep 25, 2018
1 parent 121e4f1 commit 00e7461
Show file tree
Hide file tree
Showing 3 changed files with 367 additions and 311 deletions.
14 changes: 7 additions & 7 deletions py_gd/test/test_buffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@
"""
tests for buffer access to py_gd Image
"""
import pytest

import py_gd
from py_gd import Image

import pytest

## skip this until we get it working...
# skip this until we get it working...
@pytest.mark.skipif('True')
def test_mem_view():
img = py_gd.Image(5,10)
img = Image(5, 10)

print img

#get a memoryview of it:
# get a memory view of it:
m = memoryview(img)
print m
print m.format
print m.ndim
print m.shape
print m.ndim
print m.shape
print m.suboffsets
print m.itemsize
print m.readonly
Expand Down
Loading

0 comments on commit 00e7461

Please sign in to comment.