py36+: remove TYPE_CHECKING from _pytest.compat

automated with:

```bash
git grep -l 'from .* import TYPE_CHECKING' |
    xargs reorder-python-imports \
        --application-directories .:src \
        --remove-import 'from _pytest.compat import TYPE_CHECKING' \
        --add-import 'from typing import TYPE_CHECKING'
```
This commit is contained in:
Anthony Sottile
2020-10-02 12:09:56 -07:00
parent 325b988ca8
commit a238d1f37d
35 changed files with 35 additions and 41 deletions

View File

@@ -4,13 +4,13 @@ from datetime import datetime
from typing import cast
from typing import List
from typing import Tuple
from typing import TYPE_CHECKING
from xml.dom import minidom
import py
import xmlschema
import pytest
from _pytest.compat import TYPE_CHECKING
from _pytest.config import Config
from _pytest.junitxml import bin_xml_escape
from _pytest.junitxml import LogXML