aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_crypt.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_crypt.py')
-rw-r--r--Lib/test/test_crypt.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/test/test_crypt.py b/Lib/test/test_crypt.py
index 4db200d4031..2adb28d7cea 100644
--- a/Lib/test/test_crypt.py
+++ b/Lib/test/test_crypt.py
@@ -1,17 +1,17 @@
-from test import test_support
+from test import support
import unittest
-crypt = test_support.import_module('crypt')
+crypt = support.import_module('crypt')
class CryptTestCase(unittest.TestCase):
def test_crypt(self):
c = crypt.crypt('mypassword', 'ab')
- if test_support.verbose:
- print 'Test encryption: ', c
+ if support.verbose:
+ print('Test encryption: ', c)
def test_main():
- test_support.run_unittest(CryptTestCase)
+ support.run_unittest(CryptTestCase)
if __name__ == "__main__":
test_main()