forked from pool/python-bitstring
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
This commit is contained in:
23
python-bitstring.py.diff
Normal file
23
python-bitstring.py.diff
Normal file
@@ -0,0 +1,23 @@
|
||||
--- 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")
|
||||
+
|
||||
Reference in New Issue
Block a user