We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea100d4 commit 1b416a0Copy full SHA for 1b416a0
mypy/test/teststubtest.py
@@ -9,9 +9,9 @@
9
import tempfile
10
import textwrap
11
import unittest
12
+import unittest.mock
13
from collections.abc import Iterator
14
from typing import Any, Callable
-import unittest.mock
15
16
import mypy.stubtest
17
from mypy import build, nodes
@@ -1668,9 +1668,7 @@ def test_not_subclassable(self) -> Iterator[Case]:
1668
@collect_cases
1669
def test_disjoint_base(self) -> Iterator[Case]:
1670
# TODO: Remove this patch once PEP 800 is accepted
1671
- with unittest.mock.patch.object(
1672
- sys, "argv", new=sys.argv + ["--check-disjoint-bases"]
1673
- ):
+ with unittest.mock.patch.object(sys, "argv", new=sys.argv + ["--check-disjoint-bases"]):
1674
yield Case(
1675
stub="""
1676
class A: pass
0 commit comments