diff --git a/kitty/__init__.py b/kitty/__init__.py index 8b1378917..1bb8bf6d7 100644 --- a/kitty/__init__.py +++ b/kitty/__init__.py @@ -1 +1 @@ - +# empty diff --git a/kitty/fonts/freetype.py b/kitty/fonts/freetype.py index a56c43c73..9138e913e 100644 --- a/kitty/fonts/freetype.py +++ b/kitty/fonts/freetype.py @@ -253,10 +253,6 @@ def display_bitmap(data, w, h): img.show() -def cell_size(): - return cell_width, cell_height - - def test_rendering(text='\'PingšŸ‘aā§½ī‚°', sz=144, family='Ubuntu Mono for Kovid'): set_font_family(family, sz) cells = [] diff --git a/test.py b/test.py index 5e7da26c3..aeb16309e 100755 --- a/test.py +++ b/test.py @@ -91,8 +91,10 @@ def run_cli(suite, verbosity=4): if not result.wasSuccessful(): raise SystemExit(1) + def main(): run_tests() + if __name__ == '__main__': main()