Skip to content

Commit

Permalink
apply Black 2024 style in fbcode (16/17)
Browse files Browse the repository at this point in the history
Summary:
Formats the covered files with pyfmt.

paintitblack

Reviewed By: zertosh, abesto

Differential Revision: D54470824

fbshipit-source-id: 06c8f96f17045dcd46a23398274cc5b741c6e846
  • Loading branch information
amyreese authored and facebook-github-bot committed Mar 4, 2024
1 parent d418107 commit 007d5ee
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions py/pytest/parsertest.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,13 @@
class ParserTestCase:
@abstractmethod
# pyre-fixme[2]: Parameter annotation cannot be `Any`.
def assertEqual(self, first: Any, second: Any, msg: Any = ...) -> None:
...
def assertEqual(self, first: Any, second: Any, msg: Any = ...) -> None: ...

@abstractmethod
def _testcases(self) -> List[TestCase]:
...
def _testcases(self) -> List[TestCase]: ...

@abstractmethod
def _expect_line(self) -> int:
...
def _expect_line(self) -> int: ...

def test_validate_valid_input(self) -> None:
output = Output(b"Hello\n", b"", 0)
Expand Down

0 comments on commit 007d5ee

Please sign in to comment.