1. Kang Zhang
  2. Python Keyring Lib

Commits

Jason R. Coombs  committed c7820a1

Fix NameError on Python 3 in tests

  • Participants
  • Parent commits 5a7aac7
  • Branches default

Comments (0)

Files changed (1)

File keyring/tests/backends/test_Google.py

View file
 import base64
 import cPickle
 
+import keyring.py27compat
 from ..py30compat import unittest
 from ..test_backend import BackendBasicTests
 from keyring.backends import Google
     return True
 
 def init_google_docs_keyring(client, can_create=True,
-                             input_getter=raw_input):
+                             input_getter=keyring.py27compat.input):
     credentials = SimpleCredential('foo', 'bar')
     return Google.DocsKeyring(credentials,
                                              'test_src',