MCPcopy Index your code
hub / github.com/daviddrysdale/python-phonenumbers / NumberTest

Class NumberTest

python/tests/phonenumbermatchertest.py:111–119  ·  view source on GitHub ↗

Small class that holds the number we want to test and the region for which it should be valid.

Source from the content-addressed store, hash-verified

109
110
111class NumberTest(object):
112 """Small class that holds the number we want to test and the region for
113 which it should be valid."""
114 def __init__(self, rawString, region):
115 self.rawString = rawString
116 self.region = region
117
118 def __str__(self):
119 return "%s (%s)" % (self.rawString, self.region)
120
121
122# Strings with number-like things that shouldn't be found under any level.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected