cpython: a4431dce107a (original) (raw)

Mercurial > cpython

changeset 89001:a4431dce107a

Issue #20363. Fixed BytesWarning triggerred by test suite. Patch by Berker Peksag. [#20363]

Serhiy Storchaka storchaka@gmail.com
date Thu, 06 Feb 2014 22:52:23 +0200
parents 775fb736b4b8(current diff)791674a74e47(diff)
children c964b6b83720
files Lib/base64.py Lib/configparser.py Lib/test/test_hash.py
diffstat 4 files changed, 5 insertions(+), 5 deletions(-)[+] [-] Lib/base64.py 2 Lib/configparser.py 4 Lib/distutils/command/register.py 2 Lib/test/test_hash.py 2

line wrap: on

line diff

--- a/Lib/base64.py +++ b/Lib/base64.py @@ -362,7 +362,7 @@ def a85decode(b, *, foldspaces=False, ad if adobe: if not (b.startswith(_A85START) and b.endswith(_A85END)): raise ValueError("Ascii85 encoded byte sequences must be bracketed "

--- a/Lib/configparser.py +++ b/Lib/configparser.py @@ -286,7 +286,7 @@ class ParsingError(Error): raise ValueError("Required argument `source' not given.") elif filename: source = filename

@@ -322,7 +322,7 @@ class MissingSectionHeaderError(ParsingE def init(self, filename, lineno, line): Error.init( self,

--- a/Lib/distutils/command/register.py +++ b/Lib/distutils/command/register.py @@ -300,5 +300,5 @@ Your selection [default 1]: ''', log.INF result = 200, 'OK' if self.show_response: dashes = '-' * 75

--- a/Lib/test/test_hash.py +++ b/Lib/test/test_hash.py @@ -172,7 +172,7 @@ class HashRandomizationTests: # an object to be tested def get_hash_command(self, repr_):

def get_hash(self, repr_, seed=None): env = os.environ.copy()