summary refs log tree commit diff
path: root/tests/util/test_file_consumer.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add missing types to tests.util. (#14597)Patrick Cloke2022-12-021-43/+60
| | | | Removes files under tests.util from the ignored by list, then fully types all tests/util/*.py files.
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
| | | | | | | Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>`
* Use mock from the stdlib. (#9772)Patrick Cloke2021-04-091-2/+1
|
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-2/+2
|
* Replace all remaining six usage with native Python 3 equivalents (#7704)Dagfinn Ilmari Mannsåker2020-06-161-1/+1
|
* Run black.black2018-08-101-2/+3
|
* run isortAmber Brown2018-07-091-4/+5
|
* Pass around the reactor explicitly (#3385)Amber Brown2018-06-221-3/+3
|
* Make tests py3 compatibleAdrian Tschira2018-04-161-1/+1
| | | | | | | | | | | This is a mixed commit that fixes various small issues * print parentheses * 01 is invalid syntax (it was octal in py2) * [x for i in 1, 2] is invalid syntax * six moves Signed-off-by: Adrian Tschira <nota@notafile.com>
* Move test stuff to testsErik Johnston2018-01-181-8/+46
|
* Add decent impl of a FileConsumerErik Johnston2018-01-171-0/+138
Twisted core doesn't have a general purpose one, so we need to write one ourselves. Features: - All writing happens in background thread - Supports both push and pull producers - Push producers get paused if the consumer falls behind