diff options
Diffstat (limited to 'tests/compat/test_binary.py')
-rw-r--r-- | tests/compat/test_binary.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/compat/test_binary.py b/tests/compat/test_binary.py index 7660206..ce3d1ef 100644 --- a/tests/compat/test_binary.py +++ b/tests/compat/test_binary.py @@ -5,15 +5,18 @@ # License: http://pyasn1.sf.net/license.html # import sys -from pyasn1.compat import binary try: import unittest2 as unittest except ImportError: import unittest +from tests.base import BaseTestCase + +from pyasn1.compat import binary + -class BinaryTestCase(unittest.TestCase): +class BinaryTestCase(BaseTestCase): def test_bin_zero(self): assert '0b0' == binary.bin(0) |