diff options
author | Slawek Kaplonski <skaplons@redhat.com> | 2018-07-25 13:47:48 +0200 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2018-07-31 07:19:53 +0900 |
commit | 49b5e5c30a08df65a5a709d1d934142ad658b664 (patch) | |
tree | 8e748463223b88bd0e516868a6e9c66869956796 /tools | |
parent | b39ff68f82b2699e1a6498c259f935df961addbe (diff) |
Fix UT when running in python 3.7 env
Due to change [1] in python 3.7 one of ryu's unit tests
was failing with this version of interpreter. It was like that
because of missing __qualname__ attribute in functools.partial
object.
This patch fixes it by adding such attribute if it's not
set already.
[1] https://github.com/python/cpython/pull/4496
Signed-off-by: Slawek Kaplonski <skaplons@redhat.com>
Acked-By: IWAMOTO Toshihiro <iwamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions