Changeset View
Changeset View
Standalone View
Standalone View
src/unit/engine/PytestTestEngine.php
Context not available. | |||||
foreach ($classes as $class) { | foreach ($classes as $class) { | ||||
// filename is actually python module path with ".py" at the end, | // filename is actually python module path with ".py" at the end, | ||||
// e.g.: tornado.web.py | // e.g.: tornado.web.py | ||||
$relative_path = explode('.', $class->getAttribute('filename')); | $relative_path = @explode('.', $class->getAttribute('filename')); | ||||
array_pop($relative_path); | array_pop($relative_path); | ||||
$relative_path = implode('/', $relative_path); | $relative_path = implode('/', $relative_path); | ||||
Context not available. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0