Blob Blame History Raw
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Fedora Python maintainers <python-devel@lists.fedoraproject.org>
Date: Wed, 22 Jul 2020 16:38:11 +0200
Subject: [PATCH] 00273-skip-float-test.patch

Skip test_float_with_comma, which fails in Koji with UnicodeDecodeError
See https://bugzilla.redhat.com/show_bug.cgi?id=1484497
---
 Lib/test/test_float.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Lib/test/test_float.py b/Lib/test/test_float.py
index 53a81dfa8c9..9a944f775a2 100644
--- a/Lib/test/test_float.py
+++ b/Lib/test/test_float.py
@@ -107,7 +107,7 @@ class GeneralFloatCases(unittest.TestCase):
             else:
                 self.fail("Expected int(%r) to raise a ValueError", s)
 
-
+    @unittest.skip('Fails in Koji: https://bugzilla.redhat.com/show_bug.cgi?id=1484497')
     @support.run_with_locale('LC_NUMERIC', 'fr_FR', 'de_DE')
     def test_float_with_comma(self):
         # set locale to something that doesn't use '.' for the decimal point