constant_directive_runme.py and classic classes
This commit is contained in:
parent
cfaf2f97fd
commit
2f6dee3adb
1 changed files with 2 additions and 2 deletions
|
|
@ -1,8 +1,8 @@
|
|||
import constant_directive
|
||||
|
||||
if type(constant_directive.TYPE1_CONSTANT1) != constant_directive.Type1:
|
||||
if not isinstance(constant_directive.TYPE1_CONSTANT1,constant_directive.Type1):
|
||||
raise RuntimeError("Failure: TYPE1_CONSTANT1 type: {}".format(type(constant_directive.TYPE1_CONSTANT1)))
|
||||
if type(constant_directive.getType1Instance()) != constant_directive.Type1:
|
||||
if not isinstance(constant_directive.getType1Instance(),constant_directive.Type1):
|
||||
raise RuntimeError("Failure: getType1Instance() type: {}".format(type(constant_directive.getType1Instance())))
|
||||
|
||||
if constant_directive.TYPE1_CONSTANT1.val != 1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue