{"comment":{"url":"https://api.github.com/repos/brownnrl/moneyguru/comments/9327592","html_url":"https://github.com/brownnrl/moneyguru/commit/b6c3d08c675db38d6f03c84898b9ee387f9fe767#commitcomment-9327592","id":9327592,"user":{"login":"brownnrl","id":672163,"avatar_url":"https://avatars.githubusercontent.com/u/672163?v=3","gravatar_id":"","url":"https://api.github.com/users/brownnrl","html_url":"https://github.com/brownnrl","followers_url":"https://api.github.com/users/brownnrl/followers","following_url":"https://api.github.com/users/brownnrl/following{/other_user}","gists_url":"https://api.github.com/users/brownnrl/gists{/gist_id}","starred_url":"https://api.github.com/users/brownnrl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brownnrl/subscriptions","organizations_url":"https://api.github.com/users/brownnrl/orgs","repos_url":"https://api.github.com/users/brownnrl/repos","events_url":"https://api.github.com/users/brownnrl/events{/privacy}","received_events_url":"https://api.github.com/users/brownnrl/received_events","type":"User","site_admin":false},"position":32,"line":527,"path":"core/tests/gui/import_window_test.py","commit_id":"b6c3d08c675db38d6f03c84898b9ee387f9fe767","created_at":"2015-01-17T19:22:34Z","updated_at":"2015-01-17T19:22:34Z","body":"That's funny, I am working on this now, and I __just__ finished fixing this test after I discovered it was failing.  I looked at the ``Amount`` class a little more closely, and got educated.\r\n\r\nI don't think it coerces, I can't ``+= 1`` there either (I get a ``TypeError' Amounts can only be compared with other amounts or zero' ``).  Have to convert it to an amount after reading the currency.\r\n\r\nYour comment is useful in retrospect.  :)"}}