@@ -0,0 +1,15 @@
+from nose.tools import assert_equal
+
+import flatbuffers
+
+
+def test_scalars():
+    builder = flatbuffers.Builder()
+
+    def check(offset, expected):
+        assert_equal(expected, list(builder.data()))
+
+    check(builder.push_byte(42), [0x2A])
+    check(builder.push_byte(-1), [0xFF, 0x2A])
+    check(builder.push_ubyte(255), [0xFF, 0xFF, 0x2A])
+    check(builder.push_short(-1), [0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0x2A])
For unit tests could use you the vanilla python unittest module instead to keep the dependencies down?