Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(12)

Unified Diff: Lib/test/test_codecs.py

Issue 10639: reindent.py converts newlines to platform default
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Lib/test/test_codecmaps_tw.py ('k') | Lib/test/test_compileall.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Lib/test/test_codecs.py Tue Jul 26 09:37:46 2011 +0300
+++ b/Lib/test/test_codecs.py Mon Jul 25 09:47:18 2011 -0400
@@ -1,7 +1,6 @@
from test import support
import unittest
import codecs
-import locale
import sys, _testcapi, io
class Queue(object):
@@ -1231,19 +1230,6 @@
self.assertRaises(TypeError, codecs.getwriter)
self.assertRaises(LookupError, codecs.getwriter, "__spam__")
- def test_lookup_issue1813(self):
- # Issue #1813: under Turkish locales, lookup of some codecs failed
- # because 'I' is lowercased as "ı" (dotless i)
- oldlocale = locale.getlocale(locale.LC_CTYPE)
- self.addCleanup(locale.setlocale, locale.LC_CTYPE, oldlocale)
- try:
- locale.setlocale(locale.LC_CTYPE, 'tr_TR')
- except locale.Error:
- # Unsupported locale on this system
- self.skipTest('test needs Turkish locale')
- c = codecs.lookup('ASCII')
- self.assertEqual(c.name, 'ascii')
-
class StreamReaderTest(unittest.TestCase):
def setUp(self):
« no previous file with comments | « Lib/test/test_codecmaps_tw.py ('k') | Lib/test/test_compileall.py » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+