Patched failing NOOP test
This commit is contained in:
parent
9b754ebeb6
commit
112f64375b
12
00191-disable-NOOP.patch
Normal file
12
00191-disable-NOOP.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff --git a/Lib/test/test_smtplib.py b/Lib/test/test_smtplib.py
|
||||||
|
index 81806c9..e7881b9 100644
|
||||||
|
--- a/Lib/test/test_smtplib.py
|
||||||
|
+++ b/Lib/test/test_smtplib.py
|
||||||
|
@@ -182,6 +182,7 @@ class DebuggingServerTests(unittest.TestCase):
|
||||||
|
smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=3)
|
||||||
|
smtp.quit()
|
||||||
|
|
||||||
|
+ @unittest._skipInRpmBuild("Does not work in network-free environment")
|
||||||
|
def testNOOP(self):
|
||||||
|
smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=3)
|
||||||
|
expected = (250, 'Ok')
|
@ -848,6 +848,11 @@ Patch189: 00189-gdb-py-bt-dont-raise-exception-from-eval.patch
|
|||||||
# rhbz#1029082
|
# rhbz#1029082
|
||||||
Patch190: 00190-get_python_version.patch
|
Patch190: 00190-get_python_version.patch
|
||||||
|
|
||||||
|
# 00191 #
|
||||||
|
#
|
||||||
|
# Disabling NOOP test as it fails without internet connection
|
||||||
|
Patch191: 00191-disable-NOOP.patch
|
||||||
|
|
||||||
# (New patches go here ^^^)
|
# (New patches go here ^^^)
|
||||||
#
|
#
|
||||||
# When adding new patches to "python" and "python3" in Fedora 17 onwards,
|
# When adding new patches to "python" and "python3" in Fedora 17 onwards,
|
||||||
@ -1197,6 +1202,7 @@ mv Modules/cryptmodule.c Modules/_cryptmodule.c
|
|||||||
%patch187 -p1
|
%patch187 -p1
|
||||||
%patch189 -p1
|
%patch189 -p1
|
||||||
%patch190 -p1
|
%patch190 -p1
|
||||||
|
%patch191 -p1
|
||||||
|
|
||||||
|
|
||||||
# This shouldn't be necesarry, but is right now (2.2a3)
|
# This shouldn't be necesarry, but is right now (2.2a3)
|
||||||
|
Loading…
Reference in New Issue
Block a user