Files
pytest2/src/_pytest
Ran Benita 18d181fa77 Remove dead code in _pytest.assertion.util._diff_text
The function handles bytes input, however that is never used.
The function has two callers:

1)

```
            if istext(left) and istext(right):
                explanation = _diff_text(left, right, verbose
```

`istext` checks `isinstance(str)`.

2)

```
def _notin_text(term: str, text: str, verbose: int = 0) -> List[str]:
    ...
    diff = _diff_text(correct_text, text, verbose
```

and `_notin_text` is called once:

```
            if istext(left) and istext(right):
                explanation = _notin_text(left, right, verbose
```
2019-11-03 20:28:43 +02:00
..
2019-10-27 02:06:36 +01:00
2019-10-30 09:43:33 -03:00
2019-10-26 10:37:44 -03:00
2019-10-27 02:06:36 +01:00
2019-07-11 20:11:06 -03:00
2019-10-23 10:34:14 +03:00
2019-10-30 09:43:33 -03:00
2019-10-30 09:43:33 -03:00
2019-10-19 19:07:11 +02:00
2019-08-02 16:52:51 +02:00