24 lines
680 B
Diff
24 lines
680 B
Diff
|
|
--- bitstring.py.orig 2010-03-19 20:29:28.935704104 +0100
|
||
|
|
+++ bitstring.py 2010-03-19 20:29:46.238828417 +0100
|
||
|
|
@@ -1,4 +1,4 @@
|
||
|
|
-#!/usr/bin/env python
|
||
|
|
+# -*- coding: utf-8 -*-
|
||
|
|
"""
|
||
|
|
Module for bit-wise data manipulation.
|
||
|
|
http://python-bitstring.googlecode.com
|
||
|
|
@@ -3828,13 +3828,4 @@
|
||
|
|
'se': Bits._setse,
|
||
|
|
}
|
||
|
|
|
||
|
|
-if __name__=='__main__':
|
||
|
|
- print("Running bitstring module unit tests:")
|
||
|
|
- try:
|
||
|
|
- import sys, os
|
||
|
|
- sys.path.insert(0, 'test')
|
||
|
|
- import test_bitstring
|
||
|
|
- os.chdir('test')
|
||
|
|
- test_bitstring.unittest.main(test_bitstring)
|
||
|
|
- except ImportError:
|
||
|
|
- print("Error: cannot find test_bitstring.py")
|
||
|
|
+
|