From b6716dba71171c97c8c1fdd6977bfa33170f885b Mon Sep 17 00:00:00 2001 From: Christian Abrokwa Date: Tue, 5 Dec 2023 10:02:36 +0000 Subject: [PATCH] Added copyright --- projects/jdwp/tests/test_dataclass_generator.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/projects/jdwp/tests/test_dataclass_generator.py b/projects/jdwp/tests/test_dataclass_generator.py index 285b91d..087f2f8 100644 --- a/projects/jdwp/tests/test_dataclass_generator.py +++ b/projects/jdwp/tests/test_dataclass_generator.py @@ -1,5 +1,7 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. + import unittest -from projects.jdwp.defs.schema import Struct, Field, Array, TaggedUnion +from projects.jdwp.defs.schema import Struct, Field, Array from projects.jdwp.codegen.dataclass_generator import StructGenerator @@ -64,7 +66,3 @@ def test_struct_in_array(self): " arrayField: typing.List[ArrayStructArrayFieldElement]", ] self.assertEqual(generator.generate(), expected) - - -if __name__ == "__main__": - unittest.main()