From 0ed7f9b97d17f7b2be205311f3b50a05d9e147c3 Mon Sep 17 00:00:00 2001 From: David Drysdale Date: Tue, 3 Jan 2023 08:18:07 +0000 Subject: [PATCH 1/2] tests: deregister fake data afterwards See also #255. --- python/tests/phonenumberutiltest.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python/tests/phonenumberutiltest.py b/python/tests/phonenumberutiltest.py index a95454880..14085c63c 100755 --- a/python/tests/phonenumberutiltest.py +++ b/python/tests/phonenumberutiltest.py @@ -3216,6 +3216,8 @@ def testShortMetadataRegister(self): 'register': True, 'short_data': True}) self.assertIsNone(phonenumbers.example_number_for_type('XZ', PhoneNumberType.PERSONAL_NUMBER)) + # Deregister "XZ" so no other tests are affected. + del PhoneMetadata._short_region_metadata["XZ"] def testNonGeoMetadataRegister(self): # Python version extra tests for non-geo metadata registration. @@ -3239,6 +3241,8 @@ def testNonGeoMetadataRegister(self): **{'country_code': 999, 'preferred_international_prefix': u('9999'), 'register': True}) + # Deregister "001" / 999 afterwards so no other tests are affected. + del PhoneMetadata._country_code_metadata[999] def testPickledException(self): err = NumberParseException(NumberParseException.TOO_SHORT_AFTER_IDD, 'hello world') From bcc616e388d99bb95520cb180ecf9e6e84fdc83c Mon Sep 17 00:00:00 2001 From: David Drysdale Date: Tue, 3 Jan 2023 08:35:29 +0000 Subject: [PATCH 2/2] Update copyright dates to 2023 in generated files --- python/phonenumbers/carrierdata/__init__.py | 2 +- python/phonenumbers/carrierdata/data0.py | 2 +- python/phonenumbers/carrierdata/data1.py | 2 +- python/phonenumbers/carrierdata/data2.py | 2 +- python/phonenumbers/data/__init__.py | 2 +- python/phonenumbers/geodata/__init__.py | 2 +- python/phonenumbers/geodata/data0.py | 2 +- python/phonenumbers/geodata/data1.py | 2 +- python/phonenumbers/geodata/data10.py | 2 +- python/phonenumbers/geodata/data11.py | 2 +- python/phonenumbers/geodata/data12.py | 2 +- python/phonenumbers/geodata/data13.py | 2 +- python/phonenumbers/geodata/data14.py | 2 +- python/phonenumbers/geodata/data15.py | 2 +- python/phonenumbers/geodata/data16.py | 2 +- python/phonenumbers/geodata/data17.py | 2 +- python/phonenumbers/geodata/data18.py | 2 +- python/phonenumbers/geodata/data19.py | 2 +- python/phonenumbers/geodata/data2.py | 2 +- python/phonenumbers/geodata/data20.py | 2 +- python/phonenumbers/geodata/data21.py | 2 +- python/phonenumbers/geodata/data22.py | 2 +- python/phonenumbers/geodata/data23.py | 2 +- python/phonenumbers/geodata/data24.py | 2 +- python/phonenumbers/geodata/data25.py | 2 +- python/phonenumbers/geodata/data26.py | 2 +- python/phonenumbers/geodata/data27.py | 2 +- python/phonenumbers/geodata/data28.py | 2 +- python/phonenumbers/geodata/data3.py | 2 +- python/phonenumbers/geodata/data4.py | 2 +- python/phonenumbers/geodata/data5.py | 2 +- python/phonenumbers/geodata/data6.py | 2 +- python/phonenumbers/geodata/data7.py | 2 +- python/phonenumbers/geodata/data8.py | 2 +- python/phonenumbers/geodata/data9.py | 2 +- python/phonenumbers/shortdata/__init__.py | 2 +- python/phonenumbers/tzdata/__init__.py | 2 +- python/phonenumbers/tzdata/data0.py | 2 +- python/tests/testcarrierdata/__init__.py | 2 +- python/tests/testcarrierdata/data0.py | 2 +- python/tests/testdata/__init__.py | 2 +- python/tests/testgeodata/__init__.py | 2 +- python/tests/testgeodata/data0.py | 2 +- python/tests/testtzdata/__init__.py | 2 +- python/tests/testtzdata/data0.py | 2 +- 45 files changed, 45 insertions(+), 45 deletions(-) diff --git a/python/phonenumbers/carrierdata/__init__.py b/python/phonenumbers/carrierdata/__init__.py index 4887668da..3f037fe29 100644 --- a/python/phonenumbers/carrierdata/__init__.py +++ b/python/phonenumbers/carrierdata/__init__.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/carrierdata/data0.py b/python/phonenumbers/carrierdata/data0.py index d15a9bbc1..b59d414be 100644 --- a/python/phonenumbers/carrierdata/data0.py +++ b/python/phonenumbers/carrierdata/data0.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/carrierdata/data1.py b/python/phonenumbers/carrierdata/data1.py index f2fe7d716..3b3e9d24d 100644 --- a/python/phonenumbers/carrierdata/data1.py +++ b/python/phonenumbers/carrierdata/data1.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/carrierdata/data2.py b/python/phonenumbers/carrierdata/data2.py index 7a3051acb..ed7bb5052 100644 --- a/python/phonenumbers/carrierdata/data2.py +++ b/python/phonenumbers/carrierdata/data2.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/data/__init__.py b/python/phonenumbers/data/__init__.py index d3084f966..f087c57d1 100644 --- a/python/phonenumbers/data/__init__.py +++ b/python/phonenumbers/data/__init__.py @@ -1,5 +1,5 @@ """Auto-generated file, do not edit by hand.""" -# Copyright (C) 2010-2022 The Libphonenumber Authors +# Copyright (C) 2010-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/geodata/__init__.py b/python/phonenumbers/geodata/__init__.py index 8e643ed1f..6d323f07a 100644 --- a/python/phonenumbers/geodata/__init__.py +++ b/python/phonenumbers/geodata/__init__.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/geodata/data0.py b/python/phonenumbers/geodata/data0.py index ec7a23eda..5f5f28086 100644 --- a/python/phonenumbers/geodata/data0.py +++ b/python/phonenumbers/geodata/data0.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/geodata/data1.py b/python/phonenumbers/geodata/data1.py index d21853ce6..f15acf65c 100644 --- a/python/phonenumbers/geodata/data1.py +++ b/python/phonenumbers/geodata/data1.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/geodata/data10.py b/python/phonenumbers/geodata/data10.py index 191dc5ea6..577019b8b 100644 --- a/python/phonenumbers/geodata/data10.py +++ b/python/phonenumbers/geodata/data10.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/geodata/data11.py b/python/phonenumbers/geodata/data11.py index fbd65765c..dc42aa16d 100644 --- a/python/phonenumbers/geodata/data11.py +++ b/python/phonenumbers/geodata/data11.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/geodata/data12.py b/python/phonenumbers/geodata/data12.py index 99bdcb8a0..ec0946ab4 100644 --- a/python/phonenumbers/geodata/data12.py +++ b/python/phonenumbers/geodata/data12.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/geodata/data13.py b/python/phonenumbers/geodata/data13.py index af3d0c69a..7b6d0265f 100644 --- a/python/phonenumbers/geodata/data13.py +++ b/python/phonenumbers/geodata/data13.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/geodata/data14.py b/python/phonenumbers/geodata/data14.py index b496957ac..843e69279 100644 --- a/python/phonenumbers/geodata/data14.py +++ b/python/phonenumbers/geodata/data14.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/geodata/data15.py b/python/phonenumbers/geodata/data15.py index 7310b5439..7ffd7dc0a 100644 --- a/python/phonenumbers/geodata/data15.py +++ b/python/phonenumbers/geodata/data15.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/geodata/data16.py b/python/phonenumbers/geodata/data16.py index af791d519..6ff1b4e56 100644 --- a/python/phonenumbers/geodata/data16.py +++ b/python/phonenumbers/geodata/data16.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/geodata/data17.py b/python/phonenumbers/geodata/data17.py index d44cb27e2..8ffba287f 100644 --- a/python/phonenumbers/geodata/data17.py +++ b/python/phonenumbers/geodata/data17.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/geodata/data18.py b/python/phonenumbers/geodata/data18.py index 71e023585..fb8a3fc11 100644 --- a/python/phonenumbers/geodata/data18.py +++ b/python/phonenumbers/geodata/data18.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/geodata/data19.py b/python/phonenumbers/geodata/data19.py index e0f894a53..9ff256982 100644 --- a/python/phonenumbers/geodata/data19.py +++ b/python/phonenumbers/geodata/data19.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/geodata/data2.py b/python/phonenumbers/geodata/data2.py index 6d7324ac5..439bef06e 100644 --- a/python/phonenumbers/geodata/data2.py +++ b/python/phonenumbers/geodata/data2.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/geodata/data20.py b/python/phonenumbers/geodata/data20.py index 5560bc0d4..2e5deda89 100644 --- a/python/phonenumbers/geodata/data20.py +++ b/python/phonenumbers/geodata/data20.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/geodata/data21.py b/python/phonenumbers/geodata/data21.py index 0072a617f..fda5ca156 100644 --- a/python/phonenumbers/geodata/data21.py +++ b/python/phonenumbers/geodata/data21.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/geodata/data22.py b/python/phonenumbers/geodata/data22.py index e6fb62c1a..2f1eafdc2 100644 --- a/python/phonenumbers/geodata/data22.py +++ b/python/phonenumbers/geodata/data22.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/geodata/data23.py b/python/phonenumbers/geodata/data23.py index 323743336..0c618e0d6 100644 --- a/python/phonenumbers/geodata/data23.py +++ b/python/phonenumbers/geodata/data23.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/geodata/data24.py b/python/phonenumbers/geodata/data24.py index c3ca422db..2ba8ceae0 100644 --- a/python/phonenumbers/geodata/data24.py +++ b/python/phonenumbers/geodata/data24.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/geodata/data25.py b/python/phonenumbers/geodata/data25.py index 355f45aae..948f0bfe5 100644 --- a/python/phonenumbers/geodata/data25.py +++ b/python/phonenumbers/geodata/data25.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/geodata/data26.py b/python/phonenumbers/geodata/data26.py index 4cfb59590..98f622524 100644 --- a/python/phonenumbers/geodata/data26.py +++ b/python/phonenumbers/geodata/data26.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/geodata/data27.py b/python/phonenumbers/geodata/data27.py index b389d5077..93df2d5b9 100644 --- a/python/phonenumbers/geodata/data27.py +++ b/python/phonenumbers/geodata/data27.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/geodata/data28.py b/python/phonenumbers/geodata/data28.py index 9149ce326..24386e9a3 100644 --- a/python/phonenumbers/geodata/data28.py +++ b/python/phonenumbers/geodata/data28.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/geodata/data3.py b/python/phonenumbers/geodata/data3.py index 0c56c192e..085b16e9d 100644 --- a/python/phonenumbers/geodata/data3.py +++ b/python/phonenumbers/geodata/data3.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/geodata/data4.py b/python/phonenumbers/geodata/data4.py index 81b26290c..7bc1446d0 100644 --- a/python/phonenumbers/geodata/data4.py +++ b/python/phonenumbers/geodata/data4.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/geodata/data5.py b/python/phonenumbers/geodata/data5.py index 4126cded3..d0ddcb6ad 100644 --- a/python/phonenumbers/geodata/data5.py +++ b/python/phonenumbers/geodata/data5.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/geodata/data6.py b/python/phonenumbers/geodata/data6.py index cd75a3962..f2eceac73 100644 --- a/python/phonenumbers/geodata/data6.py +++ b/python/phonenumbers/geodata/data6.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/geodata/data7.py b/python/phonenumbers/geodata/data7.py index 07c3a0c0a..db37e0c10 100644 --- a/python/phonenumbers/geodata/data7.py +++ b/python/phonenumbers/geodata/data7.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/geodata/data8.py b/python/phonenumbers/geodata/data8.py index 5090fa6fc..a83ec5df7 100644 --- a/python/phonenumbers/geodata/data8.py +++ b/python/phonenumbers/geodata/data8.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/geodata/data9.py b/python/phonenumbers/geodata/data9.py index f6f24993b..5922553b7 100644 --- a/python/phonenumbers/geodata/data9.py +++ b/python/phonenumbers/geodata/data9.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/shortdata/__init__.py b/python/phonenumbers/shortdata/__init__.py index 883d9d75b..49467e6a8 100644 --- a/python/phonenumbers/shortdata/__init__.py +++ b/python/phonenumbers/shortdata/__init__.py @@ -1,5 +1,5 @@ """Auto-generated file, do not edit by hand.""" -# Copyright (C) 2010-2022 The Libphonenumber Authors +# Copyright (C) 2010-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/tzdata/__init__.py b/python/phonenumbers/tzdata/__init__.py index 944037a9f..111867a21 100644 --- a/python/phonenumbers/tzdata/__init__.py +++ b/python/phonenumbers/tzdata/__init__.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/phonenumbers/tzdata/data0.py b/python/phonenumbers/tzdata/data0.py index 052c47af9..c583db5f0 100644 --- a/python/phonenumbers/tzdata/data0.py +++ b/python/phonenumbers/tzdata/data0.py @@ -4,7 +4,7 @@ """ from ..util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/tests/testcarrierdata/__init__.py b/python/tests/testcarrierdata/__init__.py index df2cb9bbd..2e3383da8 100644 --- a/python/tests/testcarrierdata/__init__.py +++ b/python/tests/testcarrierdata/__init__.py @@ -4,7 +4,7 @@ """ from phonenumbers.util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/tests/testcarrierdata/data0.py b/python/tests/testcarrierdata/data0.py index 79788049e..0c100c6f9 100644 --- a/python/tests/testcarrierdata/data0.py +++ b/python/tests/testcarrierdata/data0.py @@ -4,7 +4,7 @@ """ from phonenumbers.util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/tests/testdata/__init__.py b/python/tests/testdata/__init__.py index a4c129f89..ed8ca5914 100644 --- a/python/tests/testdata/__init__.py +++ b/python/tests/testdata/__init__.py @@ -1,5 +1,5 @@ """Auto-generated file, do not edit by hand.""" -# Copyright (C) 2010-2022 The Libphonenumber Authors +# Copyright (C) 2010-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/tests/testgeodata/__init__.py b/python/tests/testgeodata/__init__.py index 09d6090a3..84b60a6ae 100644 --- a/python/tests/testgeodata/__init__.py +++ b/python/tests/testgeodata/__init__.py @@ -4,7 +4,7 @@ """ from phonenumbers.util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/tests/testgeodata/data0.py b/python/tests/testgeodata/data0.py index 7a4b28552..c1b045ada 100644 --- a/python/tests/testgeodata/data0.py +++ b/python/tests/testgeodata/data0.py @@ -4,7 +4,7 @@ """ from phonenumbers.util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/tests/testtzdata/__init__.py b/python/tests/testtzdata/__init__.py index 39c1ba87b..95e4b83df 100644 --- a/python/tests/testtzdata/__init__.py +++ b/python/tests/testtzdata/__init__.py @@ -4,7 +4,7 @@ """ from phonenumbers.util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/python/tests/testtzdata/data0.py b/python/tests/testtzdata/data0.py index 825606851..4ee3bcfd8 100644 --- a/python/tests/testtzdata/data0.py +++ b/python/tests/testtzdata/data0.py @@ -4,7 +4,7 @@ """ from phonenumbers.util import u -# Copyright (C) 2011-2022 The Libphonenumber Authors +# Copyright (C) 2011-2023 The Libphonenumber Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License.