Skip to content

Commit

Permalink
fix assertion for py2.6 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
muffinresearch committed May 22, 2012
1 parent 58cb06c commit 9d4aadb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yql/tests/test_storage.py
Expand Up @@ -52,7 +52,7 @@ def test_cannot_retrieve_token_if_path_doesnt_exist(self):
store.set('foo', '?key=%s&oauth_token=some-oauth-token&'\
'oauth_token_secret=some-token-secret' % 'some-token')
os.remove(store.get_filepath('foo'))
self.assertIsNone(store.get('foo'))
self.assertTrue(store.get('foo') is None)

def test_saves_token_to_filesystem(self):
directory = tempfile.mkdtemp()
Expand Down

0 comments on commit 9d4aadb

Please sign in to comment.