unitedstates / congressional-record

A parser for the Congressional Record.
Other
128 stars 40 forks source link

Fix test case test_content_length #30

Closed napsternxg closed 6 years ago

napsternxg commented 6 years ago

Currently it tries to compare a list with an integer (0) to check for no content. This works in python 2 but will break in python3. The correct way to do it should be check the length of the content and compare that with 0 to check for empty.