15
0
Files
python-bitstring/python-bitstring.py.diff
Thomas Schraitle b8dd28e3a4 Accepting request 35391 from home:thomas-schraitle
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
2010-03-19 19:40:11 +00:00

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")
+