forked from pool/python
Update the patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=404
This commit is contained in:
parent
5267a1835f
commit
bfb85e8df7
@ -11,10 +11,10 @@
|
||||
|
||||
+ def test_parsing_unicode_str(self):
|
||||
+ email_in = "Honza Novák <honza@example.com>"
|
||||
+ self.assertEqual(Utils.parseaddr(email_in),
|
||||
+ ('Honza Nov\xc3\xa1k', 'honza@example.com'))
|
||||
+ self.assertEqual(Utils.parseaddr(email_in.decode('utf-8')),
|
||||
+ ('Honza Nov\xc3\xa1k', 'honza@example.com'))
|
||||
+ self.assertEqual(Utils.parseaddr("Honza str Novák <honza@example.com>"),
|
||||
+ ('Honza str Nov\xc3\xa1k', 'honza@example.com'))
|
||||
+ self.assertEqual(Utils.parseaddr(u"Honza unicode Novák <honza@example.com>"),
|
||||
+ ('Honza unicode Nov\xe1k', 'honza@example.com'))
|
||||
+
|
||||
def test_getaddresses_nasty(self):
|
||||
for addresses, expected in (
|
||||
|
@ -383,7 +383,6 @@ LD_LIBRARY_PATH=$PWD:$LD_LIBRARY_PATH \
|
||||
make %{?_smp_mflags} $target
|
||||
|
||||
%check
|
||||
%if %{with test}
|
||||
# on hppa, the threading of glibc is quite broken. The tests just stop
|
||||
# at some point, and the machine does not build anything more until a
|
||||
# timeout several hours later.
|
||||
@ -436,7 +435,6 @@ make test TESTOPTS="-l -w -x $EXCLUDE" TESTPYTHONOPTS="-R"
|
||||
#make test TESTOPTS="-l -u network -v"
|
||||
%endif
|
||||
# END OF CHECK SECTION
|
||||
%endif
|
||||
|
||||
%install
|
||||
# replace rest of /usr/local/bin/python or /usr/bin/python2.5 with /usr/bin/python
|
||||
|
Loading…
x
Reference in New Issue
Block a user