Skip to content

Commit e89fdd2

Browse files
authored
Merge pull request #119 from datamade/hcg/release
Prep for new version
2 parents 6f62c68 + 0277f9f commit e89fdd2

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Datasets
6767

6868
For each dataset, the first year listed is the default.
6969

70-
* acs5: `ACS 5 Year Estimates <https://www.census.gov/data/developers/data-sets/acs-5year.html>`_ (2019, 2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011, 2010, 2009)
70+
* acs5: `ACS 5 Year Estimates <https://www.census.gov/data/developers/data-sets/acs-5year.html>`_ (2020, 2019, 2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011, 2010, 2009)
7171
* acs3: `ACS 3 Year Estimates <https://www.census.gov/data/developers/data-sets/acs-3year.html>`_ (2013, 2012)
7272
* acs1: `ACS 1 Year Estimates <https://www.census.gov/data/developers/data-sets/acs-1year.html>`_ (2019, 2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011)
7373
* acs5dp: `ACS 5 Year Estimates, Data Profiles <https://www.census.gov/data/developers/data-sets/acs-5year.html>`_ (2019, 2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011, 2010, 2009)

census/tests/test_census.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,17 @@ def test_new_style_endpoints(self):
352352
res_2014_2014 = client.acs1.state('B01001_004E', Census.ALL)
353353
res_2014_2016 = client.acs1.state('B01001_004E', Census.ALL, year=2016)
354354

355-
assert res_2016_2016 == res_2014_2016
356-
assert res_2014_2014 == res_2016_2014
355+
assert sorted(
356+
res_2016_2016, key=lambda x: x['state']
357+
) == sorted(
358+
res_2014_2016, key=lambda x: x['state']
359+
)
360+
361+
assert sorted(
362+
res_2014_2014, key=lambda x: x['state']
363+
) == sorted(
364+
res_2016_2014, key=lambda x: x['state']
365+
)
357366

358367
def test_older_sf1(self):
359368
client = Census(KEY)

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = census
3-
version = 0.8.18
3+
version = 0.8.19
44
author = Jeremy Carbaugh
55
author_email = [email protected]
66
maintainer = Forest Gregg

0 commit comments

Comments
 (0)