diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2020-06-12 17:42:00 +0300 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-06-13 21:34:21 -0700 |
| commit | 18a3ad7908f4066048cdccb0b7ae2300c3b7c59d (patch) | |
| tree | 6fdb6dc96fe85bb8123101858a50eb531fe25bdc /meta-python/recipes-devtools/python/python3-twisted | |
| parent | fabab6d3157bcaeaac08bb840f7caa0b596453ab (diff) | |
| download | meta-openembedded-18a3ad7908f4066048cdccb0b7ae2300c3b7c59d.tar.gz | |
python3-twisted: Consolidate in a single file
Consolidate inc and bb files into a single bb file.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-twisted')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-twisted/0001-fix-MemoryReactor-import-in-test_runner-to-be-from-t.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-twisted/0001-fix-MemoryReactor-import-in-test_runner-to-be-from-t.patch b/meta-python/recipes-devtools/python/python3-twisted/0001-fix-MemoryReactor-import-in-test_runner-to-be-from-t.patch new file mode 100644 index 0000000000..39fc7d43e1 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-twisted/0001-fix-MemoryReactor-import-in-test_runner-to-be-from-t.patch | |||
| @@ -0,0 +1,38 @@ | |||
| 1 | From 754f21282ad2775db8ff501d40bbc497faeb17ba Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Trevor Gamblin <trevor.gamblin@windriver.com> | ||
| 3 | Date: Tue, 17 Dec 2019 15:09:22 -0500 | ||
| 4 | Subject: [PATCH] fix MemoryReactor import in test_runner to be from | ||
| 5 | twisted.internet.testing | ||
| 6 | |||
| 7 | Upstream-Status: Backport [https://github.com/twisted/twisted/commit/754f21282ad2775db8ff501d40bbc497faeb17ba] | ||
| 8 | |||
| 9 | Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> | ||
| 10 | --- | ||
| 11 | src/twisted/application/newsfragments/9746.misc | 1 + | ||
| 12 | src/twisted/application/runner/test/test_runner.py | 2 +- | ||
| 13 | 2 files changed, 2 insertions(+), 1 deletion(-) | ||
| 14 | create mode 100644 src/twisted/application/newsfragments/9746.misc | ||
| 15 | |||
| 16 | diff --git a/src/twisted/application/newsfragments/9746.misc b/src/twisted/application/newsfragments/9746.misc | ||
| 17 | new file mode 100644 | ||
| 18 | index 000000000..8b1378917 | ||
| 19 | --- /dev/null | ||
| 20 | +++ b/src/twisted/application/newsfragments/9746.misc | ||
| 21 | @@ -0,0 +1 @@ | ||
| 22 | + | ||
| 23 | diff --git a/src/twisted/application/runner/test/test_runner.py b/src/twisted/application/runner/test/test_runner.py | ||
| 24 | index 9abc3449a..cce495b12 100644 | ||
| 25 | --- a/src/twisted/application/runner/test/test_runner.py | ||
| 26 | +++ b/src/twisted/application/runner/test/test_runner.py | ||
| 27 | @@ -15,7 +15,7 @@ from twisted.logger import ( | ||
| 28 | LogLevel, LogPublisher, LogBeginner, | ||
| 29 | FileLogObserver, FilteringLogObserver, LogLevelFilterPredicate, | ||
| 30 | ) | ||
| 31 | -from twisted.test.proto_helpers import MemoryReactor | ||
| 32 | +from twisted.internet.testing import MemoryReactor | ||
| 33 | |||
| 34 | from ...runner import _runner | ||
| 35 | from .._exit import ExitStatus | ||
| 36 | -- | ||
| 37 | 2.24.1 | ||
| 38 | |||
