Skip to content

Commit

Permalink
Add local import of u() to tests (needed in eval())
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddrysdale committed Nov 27, 2011
1 parent 9aa4de1 commit 9246f92
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/tests/phonenumberutiltest.py
Expand Up @@ -26,6 +26,7 @@
from phonenumbers import ValidationResult, NumberFormat, CountryCodeSource from phonenumbers import ValidationResult, NumberFormat, CountryCodeSource
# Access internal functions of phonenumberutil.py # Access internal functions of phonenumberutil.py
from phonenumbers import phonenumberutil from phonenumbers import phonenumberutil
from phonenumbers.util import u


# Override library metadata with the test metadata. # Override library metadata with the test metadata.
REAL_REGION_METADATA = PhoneMetadata.region_metadata REAL_REGION_METADATA = PhoneMetadata.region_metadata
Expand Down

0 comments on commit 9246f92

Please sign in to comment.