• Jason Rhinelander's avatar
    Added a test to detect invalid RTTI caching · 0e489777
    Jason Rhinelander authored
    The current inheritance testing isn't sufficient to detect a cache
    failure; the test added here breaks PR #390, which caches the
    run-time-determined return type the first time a function is called,
    then reuses that cached type even though the run-time type could be
    different for a future call.
    0e489777
test_inheritance.py 1.82 KB