Skip to content

Commit c6065ad

Browse files
committed
Revert accidental formatting changes
1 parent 1f23c41 commit c6065ad

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

Lib/test/test_annotationlib.py

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,30 @@
11
"""Tests for the annotations module."""
22

3+
import textwrap
4+
import annotationlib
35
import builtins
46
import collections
57
import functools
68
import itertools
79
import pickle
8-
import textwrap
10+
from string.templatelib import Template
911
import typing
1012
import unittest
11-
from string.templatelib import Template
13+
from annotationlib import (
14+
Format,
15+
ForwardRef,
16+
get_annotations,
17+
annotations_to_string,
18+
type_repr,
19+
)
20+
from typing import Unpack, get_type_hints, List, Union
21+
1222
from test import support
1323
from test.support import import_helper
14-
from test.test_inspect import (inspect_stock_annotations,
15-
inspect_stringized_annotations,
16-
inspect_stringized_annotations_2,
17-
inspect_stringized_annotations_pep695)
18-
from typing import List, Union, Unpack, get_type_hints
19-
20-
import annotationlib
21-
from annotationlib import (Format, ForwardRef, annotations_to_string,
22-
get_annotations, type_repr)
24+
from test.test_inspect import inspect_stock_annotations
25+
from test.test_inspect import inspect_stringized_annotations
26+
from test.test_inspect import inspect_stringized_annotations_2
27+
from test.test_inspect import inspect_stringized_annotations_pep695
2328

2429

2530
def times_three(fn):
@@ -1700,7 +1705,6 @@ class C:
17001705
self.assertIs(evaluated.evaluate(), str)
17011706

17021707

1703-
17041708
class TestAnnotationLib(unittest.TestCase):
17051709
def test__all__(self):
17061710
support.check__all__(self, annotationlib)

0 commit comments

Comments
 (0)