[pypy-commit] creflect default: add minimal test

arigo noreply at buildbot.pypy.org
Mon Dec 1 22:14:29 CET 2014


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r138:26ec90ac79fe
Date: 2014-12-01 21:41 +0100
http://bitbucket.org/cffi/creflect/changeset/26ec90ac79fe/

Log:	add minimal test

diff --git a/zeffir/test/test_basic.py b/zeffir/test/test_basic.py
--- a/zeffir/test/test_basic.py
+++ b/zeffir/test/test_basic.py
@@ -22,3 +22,7 @@
 def test_no_special_attribute():
     ffi, lib = support.compile_and_open('basic')
     py.test.raises(AttributeError, getattr, lib, '__class__')
+
+def test_types():
+    ffi = support.new_ffi()
+    assert ffi.types == {}


More information about the pypy-commit mailing list