justvanrossum / drawbot-skia

A cross-platform subset of the DrawBot drawing API, using Skia

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

drawBot compatibility test

jansindl3r opened this issue · comments

would writing tests checking stuff like these between drawbot-skia and drawbot be desirable?

rect.__code__.co_argcount
rect.__defaults__
rect.__code__.co_varnames

if yes, I would like to do it!

As an automated test: I don't think so, at least not now. As a script it may be useful, to occasionaly check manually.

Note that such a script won't catch everything: eg. in the Mac app, newPage() and size() also takes page size strings, but you can't tell by the argument names...