thrnciar / rpms / python3.5

Forked from rpms/python3.5 3 years ago
Clone
Blob Blame History Raw
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Charalampos Stratakis <cstratak@redhat.com>
Date: Mon, 30 Oct 2017 17:43:37 +0100
Subject: [PATCH] 00273: Skip test_float_with_comma, which fails in Koji with
 UnicodeDecodeError

See https://bugzilla.redhat.com/show_bug.cgi?id=1484497
Reported upstream: https://bugs.python.org/issue31900
---
 Lib/test/test_float.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Lib/test/test_float.py b/Lib/test/test_float.py
index 28b6954c4d..4f1504bc5d 100644
--- a/Lib/test/test_float.py
+++ b/Lib/test/test_float.py
@@ -120,6 +120,7 @@ class GeneralFloatCases(unittest.TestCase):
         # non-UTF-8 byte string
         check(b'123\xa0')
 
+    @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