summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_nis.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_nis.py')
-rw-r--r--Lib/test/test_nis.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_nis.py b/Lib/test/test_nis.py
index 0026953..8d49550 100644
--- a/Lib/test/test_nis.py
+++ b/Lib/test/test_nis.py
@@ -1,6 +1,7 @@
from test import test_support
import unittest
-import nis
+
+nis = test_support.import_module('nis')
class NisTests(unittest.TestCase):
def test_maps(self):