summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2018-03-31 14:39:12 +0200
committerChristoph Reiter <reiter.christoph@gmail.com>2018-03-31 14:39:12 +0200
commit809f116a9739f77ea98b8ee11f102b44e38ee710 (patch)
treef56c5d5e8ea45f5694acbcaeedb118288fb160bb
parentd4c48f90af04332308ea0018d6bdae76704a707c (diff)
downloadpygobject-809f116a9739f77ea98b8ee11f102b44e38ee710.tar.gz
tests: skip a test on pypy which assumes the memory layout of Python objects
-rw-r--r--tests/test_everything.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_everything.py b/tests/test_everything.py
index c8694add..4b0cc720 100644
--- a/tests/test_everything.py
+++ b/tests/test_everything.py
@@ -10,6 +10,7 @@ import ctypes
import warnings
import sys
import os
+import platform
from gi.repository import Regress as Everything
from gi.repository import GObject
@@ -542,6 +543,7 @@ class TestEverything(unittest.TestCase):
Everything.test_ghash_gvalue_in(data)
data = None
+ @unittest.skipIf(platform.python_implementation() == "PyPy", "CPython only")
def test_struct_gpointer(self):
glist = GLib.List()
raw = RawGList.from_wrapped(glist)