This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let test = testA | |
if test.failed { | |
test.failedReason = on-call.investigate() | |
if (test.failedReason != badCode) { | |
on-call.disableTest(test) | |
} | |
} | |
let reasonForFail = testA.failedReason | |
if testA failed && reason != app code && .. { | |
on-call.disable(testA) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Foo: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from abc import ABCMeta, abstractmethod, abstractproperty | |
class Foo: # In Python 3, you use the syntax | |
_ _metaclass_ _ = ABCMeta # class Foo(metaclass=ABCMeta) | |
@abstractmethod | |
def spam(self,a,b): | |
pass | |
@abstractproperty | |
def name(self): | |
pass |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(3+1)/3*6=8 |
NewerOlder