from unittest import TestCase class T(TestCase): def test(self): from . import none self.assertIsNone(none)