swig-python: fix kdb test

tearDownClass is a class method with 1 argument