Add Python testcase for testing flatstaticmethod syntax

For testing legacy flattened static method access for when
issue #2137 is applied.
This commit is contained in:
William S Fulton 2022-01-14 23:58:40 +00:00
commit 2272d00c1a
4 changed files with 123 additions and 4 deletions

View file

@ -17,9 +17,6 @@ if foobar(3, _callback.foo) != foo(3):
if foobar(3, foo) != foo(3):
raise RuntimeError
if foobar(3, A_bar) != A_bar(3):
raise RuntimeError
if foobar(3, A.bar) != A.bar(3):
raise RuntimeError