ifw-daq
2.1.0-pre1
IFW Data Acquisition modules
test
ocm
src
support
segfault.py
Go to the documentation of this file.
1
# Test that result in the same shared library loading as within Robot modulu some slight ordering
2
# differences
3
import
zlib
4
import
subprocess
5
import
math
6
from
hashlib
import
*
7
from
robot
import
*
8
import
yaml
9
# end of extra imports
10
import
json
11
import
datetime
12
from
elt
import
pymal
13
14
from
robot.api
import
logger
15
from
robot.utils
import
DotDict
16
from
robot.utils
import
timestr_to_secs
17
18
from
ModMetadaqsimif.Metadaqsimif.SimCtl
import
SimCtlSync
19
20
21
class
Init
:
22
def
__init__
(self):
23
logger.debug(
"Loading MAL and creating factory"
)
24
self.
mal
= pymal.loadMal(
'zpb'
, {})
25
self.
factory
= pymal.CiiFactory.getInstance()
26
self.
factory
.registerMal(
'zpb'
, self.
mal
)
27
logger.debug(
"Loading MAL and creating factory done"
)
28
29
if
__name__ ==
"__main__"
:
30
i =
Init
()
31
del i
32
i =
Init
()
33
segfault.Init.__init__
def __init__(self)
Definition:
segfault.py:22
segfault.Init.factory
factory
Definition:
segfault.py:25
segfault.Init
Definition:
segfault.py:21
segfault.Init.mal
mal
Definition:
segfault.py:24
Generated by
1.8.20