Skip to content

Commit 513b726

Browse files
committed
Inherit testing and core bugfixes
2 parents 98047ec + 07984bb commit 513b726

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

census/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ class ACS1DpClient(ACS1Client):
440440

441441
dataset = 'acs1/profile'
442442

443-
years = (2022, 2021, 2019, 2018, 2017, 2016, 2015, 2014, 2013, 2012)
443+
years = (2023, 2022, 2021, 2019, 2018, 2017, 2016, 2015, 2014, 2013, 2012)
444444

445445

446446
class SF1Client(Client):

census/tests/test_census.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,14 +166,15 @@ def test_acs5(self):
166166
('Block Group 1; Census Tract 7007.06; '
167167
'Montgomery County; Maryland')),
168168
('state_place', 'Gaithersburg city, Maryland'),
169+
# 2022 and 2023 ACS5 API calls use legislative districts from 2022 as their geography
169170
('state_district',
170171
'Congressional District 6 (118th Congress), Maryland'),
171172
('state_congressional_district',
172173
'Congressional District 6 (118th Congress), Maryland'),
173174
('state_legislative_district_upper',
174-
'State Senate District 6 (2022), Maryland'),
175+
'State Senate District 6 (2022); Maryland'),
175176
('state_legislative_district_lower',
176-
'State Legislative District 6 (2022), Maryland'),
177+
'State Legislative District 6 (2022); Maryland'),
177178
('state_zipcode', 'ZCTA5 20877'),
178179
)
179180

0 commit comments

Comments
 (0)