add patches to fix tests, ok mbuhl
This commit is contained in:
parent
d76dbbe21d
commit
cb4a7cead4
12
devel/py-thrift/patches/patch-test_test_socket_py
Normal file
12
devel/py-thrift/patches/patch-test_test_socket_py
Normal file
|
@ -0,0 +1,12 @@
|
|||
Index: test/test_socket.py
|
||||
--- test/test_socket.py.orig
|
||||
+++ test/test_socket.py
|
||||
@@ -3,7 +3,7 @@ import unittest
|
||||
|
||||
from test_sslsocket import ServerAcceptor
|
||||
|
||||
-import _import_local_thrift # noqa
|
||||
+import thrift
|
||||
|
||||
from thrift.transport.TSocket import TServerSocket
|
||||
from thrift.transport.TSocket import TSocket
|
12
devel/py-thrift/patches/patch-test_test_sslsocket_py
Normal file
12
devel/py-thrift/patches/patch-test_test_sslsocket_py
Normal file
|
@ -0,0 +1,12 @@
|
|||
Index: test/test_sslsocket.py
|
||||
--- test/test_sslsocket.py.orig
|
||||
+++ test/test_sslsocket.py
|
||||
@@ -29,7 +29,7 @@ import unittest
|
||||
import warnings
|
||||
from contextlib import contextmanager
|
||||
|
||||
-import _import_local_thrift # noqa
|
||||
+import thrift
|
||||
|
||||
SCRIPT_DIR = os.path.realpath(os.path.dirname(__file__))
|
||||
ROOT_DIR = os.path.dirname(os.path.dirname(os.path.dirname(SCRIPT_DIR)))
|
Loading…
Reference in New Issue
Block a user