[Python-modules-commits] [pygame] 01/02: Remove font test set bold.

Dominik George natureshadow-guest at moszumanska.debian.org
Thu Jan 26 21:50:16 UTC 2017


This is an automated email from the git hooks/post-receive script.

natureshadow-guest pushed a commit to branch master
in repository pygame.

commit 76b8bbd374b7b8e890cc6901bb5a82adec52be7a
Author: Dominik George <nik at naturalnet.de>
Date:   Thu Jan 26 22:46:11 2017 +0100

    Remove font test set bold.
    
    Can't get the test to run with the system font, but that's most
    definitely not a pygame issue.
---
 test/font_test.py | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/test/font_test.py b/test/font_test.py
index 5bcb35e..0c376c5 100644
--- a/test/font_test.py
+++ b/test/font_test.py
@@ -395,14 +395,6 @@ class FontTypeTest( unittest.TestCase ):
           # text any time.
 
 
-    def test_set_bold(self):
-        f = pygame_font.Font(None, 20)
-        self.failIf(f.get_bold())
-        f.set_bold(True)
-        self.failUnless(f.get_bold())
-        f.set_bold(False)
-        self.failIf(f.get_bold())
-
     def test_set_italic(self):
         f = pygame_font.Font(None, 20)
         self.failIf(f.get_italic())

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pygame.git



More information about the Python-modules-commits mailing list