aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-13 16:11:28 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-13 16:11:28 -0700
commitc9e067e4b7c23b4d871ac091c7a9ec5a6650e909 (patch)
treeee4765ba7c4e569dc029caa6ecab1060a5a0b3d7 /python/tests
parentd68ec599c744b56b2e0f6e79f7973bc7b1618fb3 (diff)
downloadfatcat-c9e067e4b7c23b4d871ac091c7a9ec5a6650e909.tar.gz
fatcat-c9e067e4b7c23b4d871ac091c7a9ec5a6650e909.zip
fix python api_releases test (date comparison)
Diffstat (limited to 'python/tests')
-rw-r--r--python/tests/api_releases.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tests/api_releases.py b/python/tests/api_releases.py
index 264bea8f..69e37fd0 100644
--- a/python/tests/api_releases.py
+++ b/python/tests/api_releases.py
@@ -90,7 +90,7 @@ def test_release(api):
assert r1.release_date == r2.release_date
assert r1.release_year == r2.release_year
assert r1.withdrawn_status == r2.withdrawn_status
- assert r1.withdrawn_date == r2.withdrawn_date
+ assert str(r1.withdrawn_date) == str(r2.withdrawn_date)
assert r1.withdrawn_year == r2.withdrawn_year
assert r1.ext_ids.doi == r2.ext_ids.doi
assert r1.ext_ids.pmid == r2.ext_ids.pmid