forked from pool/python-bitstring
Copy from home:thomas-schraitle/python-bitstring via accept of submit request 35391 revision 1. Request was accepted with message: New package OBS-URL: https://build.opensuse.org/request/show/35391 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitstring?expand=0&rev=1
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")
|
|
+
|