Skip to content

Commit

Permalink
Formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
daveraja committed Feb 21, 2024
1 parent 6f29b97 commit 21977da
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_forward_ref.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ class P1(Predicate):
p = module.P1(a=3, b="42")
self.assertEqual(str(p), 'p1(3,"42")')


def test_postponed_annotations_inner_class(self):
code = """
from __future__ import annotations
Expand All @@ -98,8 +97,7 @@ class Inner(Predicate):
with self._create_module(code) as module:
inner = module.Outer.Inner(a=3)
outer = module.Outer(b=inner)
self.assertEqual(str(outer), 'outer(inner(3))')

self.assertEqual(str(outer), "outer(inner(3))")

def test_postponed_annotations_complex(self):
code = """
Expand Down

0 comments on commit 21977da

Please sign in to comment.