Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 397260 Details for
Bug 541070
dev-lang/python-2.7.9-r1: test_socket crashes when failing to read /proc/modules
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for Lib/test/test_socket.py
python-2.7_disable_tipc_tests.patch (text/plain), 586 bytes, created by
Nikoli
on 2015-02-22 18:25:08 UTC
(
hide
)
Description:
patch for Lib/test/test_socket.py
Filename:
MIME Type:
Creator:
Nikoli
Created:
2015-02-22 18:25:08 UTC
Size:
586 bytes
patch
obsolete
>--- Lib/test/test_socket.py.orig 2015-02-22 19:48:48.190975254 +0300 >+++ Lib/test/test_socket.py 2015-02-22 19:51:34.917987535 +0300 >@@ -1705,14 +1705,6 @@ > The TIPC module is not loaded automatically on Ubuntu and probably > other Linux distros. > """ >- if not hasattr(socket, "AF_TIPC"): >- return False >- if not os.path.isfile("/proc/modules"): >- return False >- with open("/proc/modules") as f: >- for line in f: >- if line.startswith("tipc "): >- return True > return False > > @unittest.skipUnless(isTipcAvailable(),
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 541070
: 397260