We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
State Abbreviations for en_US have too many
The output of the state provider in address only outputs the 50 states, but the state_abbr has 59 potential outputs

### Steps to reproduce

Generate a value using the state_abbr provider

### Expected behavior

The value should be one of the 50 US states abbreviations

### Actual behavior

The value is one of the 50 US states, Washington DC (DC), American Samoa (AS), Micronesia (FM), Guam (GU), Marshall Islands (MH), Northern Marianas (MP), Palau (PW), Puerto Rico (PR), and Virgin Isles (VI). It appears the list was pulled from sources such as https://www.factmonster.com/us/postal-information/state-abbreviations-and-state-postal-codes that list every possible postal state abbreviation. 

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `faker/providers/address/en_US/__init__.py`
Content:
```
1 from __future__ import unicode_literals
2 from collections import OrderedDict
3 
4 from ..en import Provider as AddressProvider
5 
6 
7 class Provider(AddressProvider):
8     city_prefixes = ('North', 'East', 'West', 'South', 'New', 'Lake', 'Port')
9 
10     city_suffixes = (
11         'town',
12         'ton',
13         'land',
14         'ville',
15         'berg',
16         'burgh',
17         'borough',
18         'bury',
19         'view',
20         'port',
21         'mouth',
22         'stad',
23         'furt',
24         'chester',
25         'mouth',
26         'fort',
27         'haven',
28         'side',
29         'shire')
30 
31     building_number_formats = ('#####', '####', '###')
32 
33     street_suffixes = (
34         'Alley',
35         'Avenue',
36         'Branch',
37         'Bridge',
38         'Brook',
39         'Brooks',
40         'Burg',
41         'Burgs',
42         'Bypass',
43         'Camp',
44         'Canyon',
45         'Cape',
46         'Causeway',
47         'Center',
48         'Centers',
49         'Circle',
50         'Circles',
51         'Cliff',
52         'Cliffs',
53         'Club',
54         'Common',
55         'Corner',
56         'Corners',
57         'Course',
58         'Court',
59         'Courts',
60         'Cove',
61         'Coves',
62         'Creek',
63         'Crescent',
64         'Crest',
65         'Crossing',
66         'Crossroad',
67         'Curve',
68         'Dale',
69         'Dam',
70         'Divide',
71         'Drive',
72         'Drive',
73         'Drives',
74         'Estate',
75         'Estates',
76         'Expressway',
77         'Extension',
78         'Extensions',
79         'Fall',
80         'Falls',
81         'Ferry',
82         'Field',
83         'Fields',
84         'Flat',
85         'Flats',
86         'Ford',
87         'Fords',
88         'Forest',
89         'Forge',
90         'Forges',
91         'Fork',
92         'Forks',
93         'Fort',
94         'Freeway',
95         'Garden',
96         'Gardens',
97         'Gateway',
98         'Glen',
99         'Glens',
100         'Green',
101         'Greens',
102         'Grove',
103         'Groves',
104         'Harbor',
105         'Harbors',
106         'Haven',
107         'Heights',
108         'Highway',
109         'Hill',
110         'Hills',
111         'Hollow',
112         'Inlet',
113         'Inlet',
114         'Island',
115         'Island',
116         'Islands',
117         'Islands',
118         'Isle',
119         'Isle',
120         'Junction',
121         'Junctions',
122         'Key',
123         'Keys',
124         'Knoll',
125         'Knolls',
126         'Lake',
127         'Lakes',
128         'Land',
129         'Landing',
130         'Lane',
131         'Light',
132         'Lights',
133         'Loaf',
134         'Lock',
135         'Locks',
136         'Locks',
137         'Lodge',
138         'Lodge',
139         'Loop',
140         'Mall',
141         'Manor',
142         'Manors',
143         'Meadow',
144         'Meadows',
145         'Mews',
146         'Mill',
147         'Mills',
148         'Mission',
149         'Mission',
150         'Motorway',
151         'Mount',
152         'Mountain',
153         'Mountain',
154         'Mountains',
155         'Mountains',
156         'Neck',
157         'Orchard',
158         'Oval',
159         'Overpass',
160         'Park',
161         'Parks',
162         'Parkway',
163         'Parkways',
164         'Pass',
165         'Passage',
166         'Path',
167         'Pike',
168         'Pine',
169         'Pines',
170         'Place',
171         'Plain',
172         'Plains',
173         'Plains',
174         'Plaza',
175         'Plaza',
176         'Point',
177         'Points',
178         'Port',
179         'Port',
180         'Ports',
181         'Ports',
182         'Prairie',
183         'Prairie',
184         'Radial',
185         'Ramp',
186         'Ranch',
187         'Rapid',
188         'Rapids',
189         'Rest',
190         'Ridge',
191         'Ridges',
192         'River',
193         'Road',
194         'Road',
195         'Roads',
196         'Roads',
197         'Route',
198         'Row',
199         'Rue',
200         'Run',
201         'Shoal',
202         'Shoals',
203         'Shore',
204         'Shores',
205         'Skyway',
206         'Spring',
207         'Springs',
208         'Springs',
209         'Spur',
210         'Spurs',
211         'Square',
212         'Square',
213         'Squares',
214         'Squares',
215         'Station',
216         'Station',
217         'Stravenue',
218         'Stravenue',
219         'Stream',
220         'Stream',
221         'Street',
222         'Street',
223         'Streets',
224         'Summit',
225         'Summit',
226         'Terrace',
227         'Throughway',
228         'Trace',
229         'Track',
230         'Trafficway',
231         'Trail',
232         'Trail',
233         'Tunnel',
234         'Tunnel',
235         'Turnpike',
236         'Turnpike',
237         'Underpass',
238         'Union',
239         'Unions',
240         'Valley',
241         'Valleys',
242         'Via',
243         'Viaduct',
244         'View',
245         'Views',
246         'Village',
247         'Village',
248         'Villages',
249         'Ville',
250         'Vista',
251         'Vista',
252         'Walk',
253         'Walks',
254         'Wall',
255         'Way',
256         'Ways',
257         'Well',
258         'Wells')
259 
260     postcode_formats = ('#####', '#####-####')
261 
262     states = (
263         'Alabama', 'Alaska', 'Arizona', 'Arkansas', 'California', 'Colorado',
264         'Connecticut', 'Delaware', 'Florida', 'Georgia', 'Hawaii', 'Idaho',
265         'Illinois', 'Indiana', 'Iowa', 'Kansas', 'Kentucky', 'Louisiana',
266         'Maine', 'Maryland', 'Massachusetts', 'Michigan', 'Minnesota',
267         'Mississippi', 'Missouri', 'Montana', 'Nebraska', 'Nevada',
268         'New Hampshire', 'New Jersey', 'New Mexico', 'New York',
269         'North Carolina', 'North Dakota', 'Ohio', 'Oklahoma', 'Oregon',
270         'Pennsylvania', 'Rhode Island', 'South Carolina', 'South Dakota',
271         'Tennessee', 'Texas', 'Utah', 'Vermont', 'Virginia', 'Washington',
272         'West Virginia', 'Wisconsin', 'Wyoming',
273     )
274     states_abbr = (
275         'AL', 'AK', 'AS', 'AZ', 'AR', 'CA', 'CO', 'CT', 'DE', 'DC', 'FM', 'FL',
276         'GA', 'GU', 'HI', 'ID', 'IL', 'IN', 'IA', 'KS', 'KY', 'LA', 'ME', 'MH',
277         'MD', 'MA', 'MI', 'MN', 'MS', 'MO', 'MT', 'NE', 'NV', 'NH', 'NJ', 'NM',
278         'NY', 'NC', 'ND', 'MP', 'OH', 'OK', 'OR', 'PW', 'PA', 'PR', 'RI', 'SC',
279         'SD', 'TN', 'TX', 'UT', 'VT', 'VI', 'VA', 'WA', 'WV', 'WI', 'WY',
280     )
281 
282     military_state_abbr = ('AE', 'AA', 'AP')
283 
284     military_ship_prefix = ('USS', 'USNS', 'USNV', 'USCGC')
285 
286     military_apo_format = ("PSC ####, Box ####")
287 
288     military_dpo_format = ("Unit #### Box ####")
289 
290     city_formats = (
291         '{{city_prefix}} {{first_name}}{{city_suffix}}',
292         '{{city_prefix}} {{first_name}}',
293         '{{first_name}}{{city_suffix}}',
294         '{{last_name}}{{city_suffix}}',
295     )
296 
297     street_name_formats = (
298         '{{first_name}} {{street_suffix}}',
299         '{{last_name}} {{street_suffix}}'
300     )
301 
302     street_address_formats = (
303         '{{building_number}} {{street_name}}',
304         '{{building_number}} {{street_name}} {{secondary_address}}',
305     )
306 
307     address_formats = (
308         "{{street_address}}\n{{city}}, {{state_abbr}} {{postcode}}",
309     )
310 
311     address_formats = OrderedDict((
312         ("{{street_address}}\n{{city}}, {{state_abbr}} {{postcode}}", 25),
313         #  military address formatting.
314         ("{{military_apo}}\nAPO {{military_state}} {{postcode}}", 1),
315         ("{{military_ship}} {{last_name}}\nFPO {{military_state}} {{postcode}}", 1),
316         ("{{military_dpo}}\nDPO {{military_state}} {{postcode}}", 1),
317     ))
318 
319     secondary_address_formats = ('Apt. ###', 'Suite ###')
320 
321     def city_prefix(self):
322         return self.random_element(self.city_prefixes)
323 
324     def secondary_address(self):
325         return self.numerify(
326             self.random_element(
327                 self.secondary_address_formats))
328 
329     def state(self):
330         return self.random_element(self.states)
331 
332     def state_abbr(self):
333         return self.random_element(self.states_abbr)
334 
335     def postcode(self):
336         return "%05d" % self.generator.random.randint(501, 99950)
337 
338     def zipcode_plus4(self):
339         return "%s-%04d" % (self.zipcode(),
340                             self.generator.random.randint(1, 9999))
341 
342     def military_ship(self):
343         """
344         :example 'USS'
345         """
346         return self.random_element(self.military_ship_prefix)
347 
348     def military_state(self):
349         """
350         :example 'APO'
351         """
352         return self.random_element(self.military_state_abbr)
353 
354     def military_apo(self):
355         """
356         :example 'PSC 5394 Box 3492
357         """
358         return self.numerify(self.military_apo_format)
359 
360     def military_dpo(self):
361         """
362         :example 'Unit 3333 Box 9342'
363         """
364         return self.numerify(self.military_dpo_format)
365 
366     # Aliases
367     def zipcode(self):
368         return self.postcode()
369 
370     def postalcode(self):
371         return self.postcode()
372 
373     def postalcode_plus4(self):
374         return self.zipcode_plus4()
375
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/faker/providers/address/en_US/__init__.py b/faker/providers/address/en_US/__init__.py
--- a/faker/providers/address/en_US/__init__.py
+++ b/faker/providers/address/en_US/__init__.py
@@ -272,13 +272,19 @@
         'West Virginia', 'Wisconsin', 'Wyoming',
     )
     states_abbr = (
-        'AL', 'AK', 'AS', 'AZ', 'AR', 'CA', 'CO', 'CT', 'DE', 'DC', 'FM', 'FL',
-        'GA', 'GU', 'HI', 'ID', 'IL', 'IN', 'IA', 'KS', 'KY', 'LA', 'ME', 'MH',
-        'MD', 'MA', 'MI', 'MN', 'MS', 'MO', 'MT', 'NE', 'NV', 'NH', 'NJ', 'NM',
-        'NY', 'NC', 'ND', 'MP', 'OH', 'OK', 'OR', 'PW', 'PA', 'PR', 'RI', 'SC',
-        'SD', 'TN', 'TX', 'UT', 'VT', 'VI', 'VA', 'WA', 'WV', 'WI', 'WY',
+        'AL', 'AK', 'AZ', 'AR', 'CA', 'CO', 'CT', 'DE', 'DC', 'FL', 'GA', 'HI',
+        'ID', 'IL', 'IN', 'IA', 'KS', 'KY', 'LA', 'ME', 'MD', 'MA', 'MI', 'MN',
+        'MS', 'MO', 'MT', 'NE', 'NV', 'NH', 'NJ', 'NM', 'NY', 'NC', 'ND', 'OH',
+        'OK', 'OR', 'PA', 'RI', 'SC', 'SD', 'TN', 'TX', 'UT', 'VT', 'VA', 'WA',
+        'WV', 'WI', 'WY',
     )
 
+    territories_abbr = (
+        'AS', 'FM', 'GU', 'MH', 'MP', 'PW', 'PR', 'VI',
+    )
+
+    states_and_territories_abbr = states_abbr + territories_abbr
+
     military_state_abbr = ('AE', 'AA', 'AP')
 
     military_ship_prefix = ('USS', 'USNS', 'USNV', 'USCGC')
@@ -329,7 +335,15 @@
     def state(self):
         return self.random_element(self.states)
 
-    def state_abbr(self):
+    def state_abbr(self, include_territories=True):
+        """
+        :returns: A random state or territory abbreviation.
+
+        :param include_territories: If True, territories will be included.
+            If False, only states will be returned.
+        """
+        if include_territories:
+            self.random_element(self.states_and_territories_abbr)
         return self.random_element(self.states_abbr)
 
     def postcode(self):

{"golden_diff": "diff --git a/faker/providers/address/en_US/__init__.py b/faker/providers/address/en_US/__init__.py\n--- a/faker/providers/address/en_US/__init__.py\n+++ b/faker/providers/address/en_US/__init__.py\n@@ -272,13 +272,19 @@\n         'West Virginia', 'Wisconsin', 'Wyoming',\n     )\n     states_abbr = (\n-        'AL', 'AK', 'AS', 'AZ', 'AR', 'CA', 'CO', 'CT', 'DE', 'DC', 'FM', 'FL',\n-        'GA', 'GU', 'HI', 'ID', 'IL', 'IN', 'IA', 'KS', 'KY', 'LA', 'ME', 'MH',\n-        'MD', 'MA', 'MI', 'MN', 'MS', 'MO', 'MT', 'NE', 'NV', 'NH', 'NJ', 'NM',\n-        'NY', 'NC', 'ND', 'MP', 'OH', 'OK', 'OR', 'PW', 'PA', 'PR', 'RI', 'SC',\n-        'SD', 'TN', 'TX', 'UT', 'VT', 'VI', 'VA', 'WA', 'WV', 'WI', 'WY',\n+        'AL', 'AK', 'AZ', 'AR', 'CA', 'CO', 'CT', 'DE', 'DC', 'FL', 'GA', 'HI',\n+        'ID', 'IL', 'IN', 'IA', 'KS', 'KY', 'LA', 'ME', 'MD', 'MA', 'MI', 'MN',\n+        'MS', 'MO', 'MT', 'NE', 'NV', 'NH', 'NJ', 'NM', 'NY', 'NC', 'ND', 'OH',\n+        'OK', 'OR', 'PA', 'RI', 'SC', 'SD', 'TN', 'TX', 'UT', 'VT', 'VA', 'WA',\n+        'WV', 'WI', 'WY',\n     )\n \n+    territories_abbr = (\n+        'AS', 'FM', 'GU', 'MH', 'MP', 'PW', 'PR', 'VI',\n+    )\n+\n+    states_and_territories_abbr = states_abbr + territories_abbr\n+\n     military_state_abbr = ('AE', 'AA', 'AP')\n \n     military_ship_prefix = ('USS', 'USNS', 'USNV', 'USCGC')\n@@ -329,7 +335,15 @@\n     def state(self):\n         return self.random_element(self.states)\n \n-    def state_abbr(self):\n+    def state_abbr(self, include_territories=True):\n+        \"\"\"\n+        :returns: A random state or territory abbreviation.\n+\n+        :param include_territories: If True, territories will be included.\n+            If False, only states will be returned.\n+        \"\"\"\n+        if include_territories:\n+            self.random_element(self.states_and_territories_abbr)\n         return self.random_element(self.states_abbr)\n \n     def postcode(self):\n", "issue": "State Abbreviations for en_US have too many\nThe output of the state provider in address only outputs the 50 states, but the state_abbr has 59 potential outputs\r\n\r\n### Steps to reproduce\r\n\r\nGenerate a value using the state_abbr provider\r\n\r\n### Expected behavior\r\n\r\nThe value should be one of the 50 US states abbreviations\r\n\r\n### Actual behavior\r\n\r\nThe value is one of the 50 US states, Washington DC (DC), American Samoa (AS), Micronesia (FM), Guam (GU), Marshall Islands (MH), Northern Marianas (MP), Palau (PW), Puerto Rico (PR), and Virgin Isles (VI). It appears the list was pulled from sources such as https://www.factmonster.com/us/postal-information/state-abbreviations-and-state-postal-codes that list every possible postal state abbreviation. \n", "before_files": [{"content": "from __future__ import unicode_literals\nfrom collections import OrderedDict\n\nfrom ..en import Provider as AddressProvider\n\n\nclass Provider(AddressProvider):\n    city_prefixes = ('North', 'East', 'West', 'South', 'New', 'Lake', 'Port')\n\n    city_suffixes = (\n        'town',\n        'ton',\n        'land',\n        'ville',\n        'berg',\n        'burgh',\n        'borough',\n        'bury',\n        'view',\n        'port',\n        'mouth',\n        'stad',\n        'furt',\n        'chester',\n        'mouth',\n        'fort',\n        'haven',\n        'side',\n        'shire')\n\n    building_number_formats = ('#####', '####', '###')\n\n    street_suffixes = (\n        'Alley',\n        'Avenue',\n        'Branch',\n        'Bridge',\n        'Brook',\n        'Brooks',\n        'Burg',\n        'Burgs',\n        'Bypass',\n        'Camp',\n        'Canyon',\n        'Cape',\n        'Causeway',\n        'Center',\n        'Centers',\n        'Circle',\n        'Circles',\n        'Cliff',\n        'Cliffs',\n        'Club',\n        'Common',\n        'Corner',\n        'Corners',\n        'Course',\n        'Court',\n        'Courts',\n        'Cove',\n        'Coves',\n        'Creek',\n        'Crescent',\n        'Crest',\n        'Crossing',\n        'Crossroad',\n        'Curve',\n        'Dale',\n        'Dam',\n        'Divide',\n        'Drive',\n        'Drive',\n        'Drives',\n        'Estate',\n        'Estates',\n        'Expressway',\n        'Extension',\n        'Extensions',\n        'Fall',\n        'Falls',\n        'Ferry',\n        'Field',\n        'Fields',\n        'Flat',\n        'Flats',\n        'Ford',\n        'Fords',\n        'Forest',\n        'Forge',\n        'Forges',\n        'Fork',\n        'Forks',\n        'Fort',\n        'Freeway',\n        'Garden',\n        'Gardens',\n        'Gateway',\n        'Glen',\n        'Glens',\n        'Green',\n        'Greens',\n        'Grove',\n        'Groves',\n        'Harbor',\n        'Harbors',\n        'Haven',\n        'Heights',\n        'Highway',\n        'Hill',\n        'Hills',\n        'Hollow',\n        'Inlet',\n        'Inlet',\n        'Island',\n        'Island',\n        'Islands',\n        'Islands',\n        'Isle',\n        'Isle',\n        'Junction',\n        'Junctions',\n        'Key',\n        'Keys',\n        'Knoll',\n        'Knolls',\n        'Lake',\n        'Lakes',\n        'Land',\n        'Landing',\n        'Lane',\n        'Light',\n        'Lights',\n        'Loaf',\n        'Lock',\n        'Locks',\n        'Locks',\n        'Lodge',\n        'Lodge',\n        'Loop',\n        'Mall',\n        'Manor',\n        'Manors',\n        'Meadow',\n        'Meadows',\n        'Mews',\n        'Mill',\n        'Mills',\n        'Mission',\n        'Mission',\n        'Motorway',\n        'Mount',\n        'Mountain',\n        'Mountain',\n        'Mountains',\n        'Mountains',\n        'Neck',\n        'Orchard',\n        'Oval',\n        'Overpass',\n        'Park',\n        'Parks',\n        'Parkway',\n        'Parkways',\n        'Pass',\n        'Passage',\n        'Path',\n        'Pike',\n        'Pine',\n        'Pines',\n        'Place',\n        'Plain',\n        'Plains',\n        'Plains',\n        'Plaza',\n        'Plaza',\n        'Point',\n        'Points',\n        'Port',\n        'Port',\n        'Ports',\n        'Ports',\n        'Prairie',\n        'Prairie',\n        'Radial',\n        'Ramp',\n        'Ranch',\n        'Rapid',\n        'Rapids',\n        'Rest',\n        'Ridge',\n        'Ridges',\n        'River',\n        'Road',\n        'Road',\n        'Roads',\n        'Roads',\n        'Route',\n        'Row',\n        'Rue',\n        'Run',\n        'Shoal',\n        'Shoals',\n        'Shore',\n        'Shores',\n        'Skyway',\n        'Spring',\n        'Springs',\n        'Springs',\n        'Spur',\n        'Spurs',\n        'Square',\n        'Square',\n        'Squares',\n        'Squares',\n        'Station',\n        'Station',\n        'Stravenue',\n        'Stravenue',\n        'Stream',\n        'Stream',\n        'Street',\n        'Street',\n        'Streets',\n        'Summit',\n        'Summit',\n        'Terrace',\n        'Throughway',\n        'Trace',\n        'Track',\n        'Trafficway',\n        'Trail',\n        'Trail',\n        'Tunnel',\n        'Tunnel',\n        'Turnpike',\n        'Turnpike',\n        'Underpass',\n        'Union',\n        'Unions',\n        'Valley',\n        'Valleys',\n        'Via',\n        'Viaduct',\n        'View',\n        'Views',\n        'Village',\n        'Village',\n        'Villages',\n        'Ville',\n        'Vista',\n        'Vista',\n        'Walk',\n        'Walks',\n        'Wall',\n        'Way',\n        'Ways',\n        'Well',\n        'Wells')\n\n    postcode_formats = ('#####', '#####-####')\n\n    states = (\n        'Alabama', 'Alaska', 'Arizona', 'Arkansas', 'California', 'Colorado',\n        'Connecticut', 'Delaware', 'Florida', 'Georgia', 'Hawaii', 'Idaho',\n        'Illinois', 'Indiana', 'Iowa', 'Kansas', 'Kentucky', 'Louisiana',\n        'Maine', 'Maryland', 'Massachusetts', 'Michigan', 'Minnesota',\n        'Mississippi', 'Missouri', 'Montana', 'Nebraska', 'Nevada',\n        'New Hampshire', 'New Jersey', 'New Mexico', 'New York',\n        'North Carolina', 'North Dakota', 'Ohio', 'Oklahoma', 'Oregon',\n        'Pennsylvania', 'Rhode Island', 'South Carolina', 'South Dakota',\n        'Tennessee', 'Texas', 'Utah', 'Vermont', 'Virginia', 'Washington',\n        'West Virginia', 'Wisconsin', 'Wyoming',\n    )\n    states_abbr = (\n        'AL', 'AK', 'AS', 'AZ', 'AR', 'CA', 'CO', 'CT', 'DE', 'DC', 'FM', 'FL',\n        'GA', 'GU', 'HI', 'ID', 'IL', 'IN', 'IA', 'KS', 'KY', 'LA', 'ME', 'MH',\n        'MD', 'MA', 'MI', 'MN', 'MS', 'MO', 'MT', 'NE', 'NV', 'NH', 'NJ', 'NM',\n        'NY', 'NC', 'ND', 'MP', 'OH', 'OK', 'OR', 'PW', 'PA', 'PR', 'RI', 'SC',\n        'SD', 'TN', 'TX', 'UT', 'VT', 'VI', 'VA', 'WA', 'WV', 'WI', 'WY',\n    )\n\n    military_state_abbr = ('AE', 'AA', 'AP')\n\n    military_ship_prefix = ('USS', 'USNS', 'USNV', 'USCGC')\n\n    military_apo_format = (\"PSC ####, Box ####\")\n\n    military_dpo_format = (\"Unit #### Box ####\")\n\n    city_formats = (\n        '{{city_prefix}} {{first_name}}{{city_suffix}}',\n        '{{city_prefix}} {{first_name}}',\n        '{{first_name}}{{city_suffix}}',\n        '{{last_name}}{{city_suffix}}',\n    )\n\n    street_name_formats = (\n        '{{first_name}} {{street_suffix}}',\n        '{{last_name}} {{street_suffix}}'\n    )\n\n    street_address_formats = (\n        '{{building_number}} {{street_name}}',\n        '{{building_number}} {{street_name}} {{secondary_address}}',\n    )\n\n    address_formats = (\n        \"{{street_address}}\\n{{city}}, {{state_abbr}} {{postcode}}\",\n    )\n\n    address_formats = OrderedDict((\n        (\"{{street_address}}\\n{{city}}, {{state_abbr}} {{postcode}}\", 25),\n        #  military address formatting.\n        (\"{{military_apo}}\\nAPO {{military_state}} {{postcode}}\", 1),\n        (\"{{military_ship}} {{last_name}}\\nFPO {{military_state}} {{postcode}}\", 1),\n        (\"{{military_dpo}}\\nDPO {{military_state}} {{postcode}}\", 1),\n    ))\n\n    secondary_address_formats = ('Apt. ###', 'Suite ###')\n\n    def city_prefix(self):\n        return self.random_element(self.city_prefixes)\n\n    def secondary_address(self):\n        return self.numerify(\n            self.random_element(\n                self.secondary_address_formats))\n\n    def state(self):\n        return self.random_element(self.states)\n\n    def state_abbr(self):\n        return self.random_element(self.states_abbr)\n\n    def postcode(self):\n        return \"%05d\" % self.generator.random.randint(501, 99950)\n\n    def zipcode_plus4(self):\n        return \"%s-%04d\" % (self.zipcode(),\n                            self.generator.random.randint(1, 9999))\n\n    def military_ship(self):\n        \"\"\"\n        :example 'USS'\n        \"\"\"\n        return self.random_element(self.military_ship_prefix)\n\n    def military_state(self):\n        \"\"\"\n        :example 'APO'\n        \"\"\"\n        return self.random_element(self.military_state_abbr)\n\n    def military_apo(self):\n        \"\"\"\n        :example 'PSC 5394 Box 3492\n        \"\"\"\n        return self.numerify(self.military_apo_format)\n\n    def military_dpo(self):\n        \"\"\"\n        :example 'Unit 3333 Box 9342'\n        \"\"\"\n        return self.numerify(self.military_dpo_format)\n\n    # Aliases\n    def zipcode(self):\n        return self.postcode()\n\n    def postalcode(self):\n        return self.postcode()\n\n    def postalcode_plus4(self):\n        return self.zipcode_plus4()\n", "path": "faker/providers/address/en_US/__init__.py"}], "after_files": [{"content": "from __future__ import unicode_literals\nfrom collections import OrderedDict\n\nfrom ..en import Provider as AddressProvider\n\n\nclass Provider(AddressProvider):\n    city_prefixes = ('North', 'East', 'West', 'South', 'New', 'Lake', 'Port')\n\n    city_suffixes = (\n        'town',\n        'ton',\n        'land',\n        'ville',\n        'berg',\n        'burgh',\n        'borough',\n        'bury',\n        'view',\n        'port',\n        'mouth',\n        'stad',\n        'furt',\n        'chester',\n        'mouth',\n        'fort',\n        'haven',\n        'side',\n        'shire')\n\n    building_number_formats = ('#####', '####', '###')\n\n    street_suffixes = (\n        'Alley',\n        'Avenue',\n        'Branch',\n        'Bridge',\n        'Brook',\n        'Brooks',\n        'Burg',\n        'Burgs',\n        'Bypass',\n        'Camp',\n        'Canyon',\n        'Cape',\n        'Causeway',\n        'Center',\n        'Centers',\n        'Circle',\n        'Circles',\n        'Cliff',\n        'Cliffs',\n        'Club',\n        'Common',\n        'Corner',\n        'Corners',\n        'Course',\n        'Court',\n        'Courts',\n        'Cove',\n        'Coves',\n        'Creek',\n        'Crescent',\n        'Crest',\n        'Crossing',\n        'Crossroad',\n        'Curve',\n        'Dale',\n        'Dam',\n        'Divide',\n        'Drive',\n        'Drive',\n        'Drives',\n        'Estate',\n        'Estates',\n        'Expressway',\n        'Extension',\n        'Extensions',\n        'Fall',\n        'Falls',\n        'Ferry',\n        'Field',\n        'Fields',\n        'Flat',\n        'Flats',\n        'Ford',\n        'Fords',\n        'Forest',\n        'Forge',\n        'Forges',\n        'Fork',\n        'Forks',\n        'Fort',\n        'Freeway',\n        'Garden',\n        'Gardens',\n        'Gateway',\n        'Glen',\n        'Glens',\n        'Green',\n        'Greens',\n        'Grove',\n        'Groves',\n        'Harbor',\n        'Harbors',\n        'Haven',\n        'Heights',\n        'Highway',\n        'Hill',\n        'Hills',\n        'Hollow',\n        'Inlet',\n        'Inlet',\n        'Island',\n        'Island',\n        'Islands',\n        'Islands',\n        'Isle',\n        'Isle',\n        'Junction',\n        'Junctions',\n        'Key',\n        'Keys',\n        'Knoll',\n        'Knolls',\n        'Lake',\n        'Lakes',\n        'Land',\n        'Landing',\n        'Lane',\n        'Light',\n        'Lights',\n        'Loaf',\n        'Lock',\n        'Locks',\n        'Locks',\n        'Lodge',\n        'Lodge',\n        'Loop',\n        'Mall',\n        'Manor',\n        'Manors',\n        'Meadow',\n        'Meadows',\n        'Mews',\n        'Mill',\n        'Mills',\n        'Mission',\n        'Mission',\n        'Motorway',\n        'Mount',\n        'Mountain',\n        'Mountain',\n        'Mountains',\n        'Mountains',\n        'Neck',\n        'Orchard',\n        'Oval',\n        'Overpass',\n        'Park',\n        'Parks',\n        'Parkway',\n        'Parkways',\n        'Pass',\n        'Passage',\n        'Path',\n        'Pike',\n        'Pine',\n        'Pines',\n        'Place',\n        'Plain',\n        'Plains',\n        'Plains',\n        'Plaza',\n        'Plaza',\n        'Point',\n        'Points',\n        'Port',\n        'Port',\n        'Ports',\n        'Ports',\n        'Prairie',\n        'Prairie',\n        'Radial',\n        'Ramp',\n        'Ranch',\n        'Rapid',\n        'Rapids',\n        'Rest',\n        'Ridge',\n        'Ridges',\n        'River',\n        'Road',\n        'Road',\n        'Roads',\n        'Roads',\n        'Route',\n        'Row',\n        'Rue',\n        'Run',\n        'Shoal',\n        'Shoals',\n        'Shore',\n        'Shores',\n        'Skyway',\n        'Spring',\n        'Springs',\n        'Springs',\n        'Spur',\n        'Spurs',\n        'Square',\n        'Square',\n        'Squares',\n        'Squares',\n        'Station',\n        'Station',\n        'Stravenue',\n        'Stravenue',\n        'Stream',\n        'Stream',\n        'Street',\n        'Street',\n        'Streets',\n        'Summit',\n        'Summit',\n        'Terrace',\n        'Throughway',\n        'Trace',\n        'Track',\n        'Trafficway',\n        'Trail',\n        'Trail',\n        'Tunnel',\n        'Tunnel',\n        'Turnpike',\n        'Turnpike',\n        'Underpass',\n        'Union',\n        'Unions',\n        'Valley',\n        'Valleys',\n        'Via',\n        'Viaduct',\n        'View',\n        'Views',\n        'Village',\n        'Village',\n        'Villages',\n        'Ville',\n        'Vista',\n        'Vista',\n        'Walk',\n        'Walks',\n        'Wall',\n        'Way',\n        'Ways',\n        'Well',\n        'Wells')\n\n    postcode_formats = ('#####', '#####-####')\n\n    states = (\n        'Alabama', 'Alaska', 'Arizona', 'Arkansas', 'California', 'Colorado',\n        'Connecticut', 'Delaware', 'Florida', 'Georgia', 'Hawaii', 'Idaho',\n        'Illinois', 'Indiana', 'Iowa', 'Kansas', 'Kentucky', 'Louisiana',\n        'Maine', 'Maryland', 'Massachusetts', 'Michigan', 'Minnesota',\n        'Mississippi', 'Missouri', 'Montana', 'Nebraska', 'Nevada',\n        'New Hampshire', 'New Jersey', 'New Mexico', 'New York',\n        'North Carolina', 'North Dakota', 'Ohio', 'Oklahoma', 'Oregon',\n        'Pennsylvania', 'Rhode Island', 'South Carolina', 'South Dakota',\n        'Tennessee', 'Texas', 'Utah', 'Vermont', 'Virginia', 'Washington',\n        'West Virginia', 'Wisconsin', 'Wyoming',\n    )\n    states_abbr = (\n        'AL', 'AK', 'AZ', 'AR', 'CA', 'CO', 'CT', 'DE', 'DC', 'FL', 'GA', 'HI',\n        'ID', 'IL', 'IN', 'IA', 'KS', 'KY', 'LA', 'ME', 'MD', 'MA', 'MI', 'MN',\n        'MS', 'MO', 'MT', 'NE', 'NV', 'NH', 'NJ', 'NM', 'NY', 'NC', 'ND', 'OH',\n        'OK', 'OR', 'PA', 'RI', 'SC', 'SD', 'TN', 'TX', 'UT', 'VT', 'VA', 'WA',\n        'WV', 'WI', 'WY',\n    )\n\n    territories_abbr = (\n        'AS', 'FM', 'GU', 'MH', 'MP', 'PW', 'PR', 'VI',\n    )\n\n    states_and_territories_abbr = states_abbr + territories_abbr\n\n    military_state_abbr = ('AE', 'AA', 'AP')\n\n    military_ship_prefix = ('USS', 'USNS', 'USNV', 'USCGC')\n\n    military_apo_format = (\"PSC ####, Box ####\")\n\n    military_dpo_format = (\"Unit #### Box ####\")\n\n    city_formats = (\n        '{{city_prefix}} {{first_name}}{{city_suffix}}',\n        '{{city_prefix}} {{first_name}}',\n        '{{first_name}}{{city_suffix}}',\n        '{{last_name}}{{city_suffix}}',\n    )\n\n    street_name_formats = (\n        '{{first_name}} {{street_suffix}}',\n        '{{last_name}} {{street_suffix}}'\n    )\n\n    street_address_formats = (\n        '{{building_number}} {{street_name}}',\n        '{{building_number}} {{street_name}} {{secondary_address}}',\n    )\n\n    address_formats = (\n        \"{{street_address}}\\n{{city}}, {{state_abbr}} {{postcode}}\",\n    )\n\n    address_formats = OrderedDict((\n        (\"{{street_address}}\\n{{city}}, {{state_abbr}} {{postcode}}\", 25),\n        #  military address formatting.\n        (\"{{military_apo}}\\nAPO {{military_state}} {{postcode}}\", 1),\n        (\"{{military_ship}} {{last_name}}\\nFPO {{military_state}} {{postcode}}\", 1),\n        (\"{{military_dpo}}\\nDPO {{military_state}} {{postcode}}\", 1),\n    ))\n\n    secondary_address_formats = ('Apt. ###', 'Suite ###')\n\n    def city_prefix(self):\n        return self.random_element(self.city_prefixes)\n\n    def secondary_address(self):\n        return self.numerify(\n            self.random_element(\n                self.secondary_address_formats))\n\n    def state(self):\n        return self.random_element(self.states)\n\n    def state_abbr(self, include_territories=True):\n        \"\"\"\n        :returns: A random state or territory abbreviation.\n\n        :param include_territories: If True, territories will be included.\n            If False, only states will be returned.\n        \"\"\"\n        if include_territories:\n            self.random_element(self.states_and_territories_abbr)\n        return self.random_element(self.states_abbr)\n\n    def postcode(self):\n        return \"%05d\" % self.generator.random.randint(501, 99950)\n\n    def zipcode_plus4(self):\n        return \"%s-%04d\" % (self.zipcode(),\n                            self.generator.random.randint(1, 9999))\n\n    def military_ship(self):\n        \"\"\"\n        :example 'USS'\n        \"\"\"\n        return self.random_element(self.military_ship_prefix)\n\n    def military_state(self):\n        \"\"\"\n        :example 'APO'\n        \"\"\"\n        return self.random_element(self.military_state_abbr)\n\n    def military_apo(self):\n        \"\"\"\n        :example 'PSC 5394 Box 3492\n        \"\"\"\n        return self.numerify(self.military_apo_format)\n\n    def military_dpo(self):\n        \"\"\"\n        :example 'Unit 3333 Box 9342'\n        \"\"\"\n        return self.numerify(self.military_dpo_format)\n\n    # Aliases\n    def zipcode(self):\n        return self.postcode()\n\n    def postalcode(self):\n        return self.postcode()\n\n    def postalcode_plus4(self):\n        return self.zipcode_plus4()\n", "path": "faker/providers/address/en_US/__init__.py"}]}