Add a test for None in Capsule
Add a test for None in Capsule

Adds a test for the bug fixed in 7e50dfb3ab5ea930d920755d1eedae82648bae72

Because we can't raise exceptions in the function that warns about the bug, this
test doesn't actually fail when the bug happens. But it does print the warning
so that's better than letting it go entirely

ketralnis/lua_sandbox,ketralnis/lua_sandbox,ketralnis/lua_sandbox