Description: Ensure font tests use Liberation Sans
Author: Nick Morrott <nickm@debian.org>
Forwarded: not-needed
Last-Update: 2021-01-02
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/tests/test_text.py
+++ b/tests/test_text.py
@@ -27,7 +27,7 @@
     assert t.size == 12
     assert t.text_color == "black"
     # test for different fonts to support tests on windows, debian and macos
-    assert (t.font == "Arial" or t.font == "Nimbus Sans L" or t.font == "Helvetica")
+    assert (t.font == "Arial" or t.font == "Liberation Sans" or t.font == "Helvetica")
     assert t.value == ""
     assert a.description > ""
     a.destroy()
@@ -158,14 +158,14 @@
 
 def test_grid_layout():
     a = App(layout="grid")
-    
+
     w = Text(a, grid=[1,2])
     grid_layout_test(w, 1, 2, 1, 1, None)
-    
+
     ws = Text(a, grid=[1,2,3,4])
     grid_layout_test(ws, 1, 2, 3, 4, None)
 
     wa = Text(a, grid=[1,2], align="top")
     grid_layout_test(wa, 1, 2, 1, 1, "top")
-    
-    a.destroy()
\ No newline at end of file
+
+    a.destroy()
