py$(PYV): remove tox env folder $(@D)/.tox/py$(PYV) py$(PYV): commands[0]> scour --version 0.38.2 py$(PYV): commands[1]> python -m coverage run --parallel-mode --source=scour test_scour.py $(@D)/test_scour.py:2701: DeprecationWarning: Use shutil.which instead of find_executable if not distutils.spawn.find_executable('ping'): runTest (test_css.Blank) ... ok runTest (test_css.ElementSelector) ... ok runTest (test_css.ElementSelectorWithProperty) ... ok runTest (__main__.AllowQuotEntitiesInUrl) ... ok runTest (__main__.AlwaysKeepClosePathSegments) ... ok test_omit_spaces (__main__.BooleanFlagsInEllipticalPath) ... ok test_output_spaces_with_renderer_workaround (__main__.BooleanFlagsInEllipticalPath) ... ok runTest (__main__.CDATAInXml) ... ok runTest (__main__.ChangeBezierToShorthandInPath) ... ok runTest (__main__.ChangeLineToHorizontalLineSegmentInPath) ... ok runTest (__main__.ChangeLineToVerticalLineSegmentInPath) ... ok runTest (__main__.ChangeQuadToShorthandInPath) ... ok runTest (__main__.CollapseSamePathPoints) ... ok runTest (__main__.CollapseSinglyReferencedGradients) ... ok runTest (__main__.CollapseStraightPathSegments) ... ok test_filein_fileout_named (__main__.CommandLineUsage) ... ok test_filein_fileout_positional (__main__.CommandLineUsage) ... ok test_help (__main__.CommandLineUsage) ... ok test_no_arguments (__main__.CommandLineUsage) ... ok test_quiet (__main__.CommandLineUsage) ... ok test_stdin_stdout (__main__.CommandLineUsage) ... ok test_verbose (__main__.CommandLineUsage) ... ok test_version (__main__.CommandLineUsage) ... ok runTest (__main__.ConvertAbsoluteToRelativePathCommands) ... ok runTest (__main__.ConvertFillOpacityPropertyToAttr) ... ok runTest (__main__.ConvertFillPropertyToAttr) ... ok runTest (__main__.ConvertFillRuleOpacityPropertyToAttr) ... ok runTest (__main__.ConvertStraightCurvesToLines) ... ok runTest (__main__.ConvertStyleToAttrs) ... ok runTest (__main__.DefaultsRemovalInherited) ... ok runTest (__main__.DefaultsRemovalInheritedFormat) ... ok runTest (__main__.DefaultsRemovalInheritedInverse) ... ok runTest (__main__.DefaultsRemovalNonOverwrite) ... ok runTest (__main__.DefaultsRemovalOverwrite) ... ok runTest (__main__.DefaultsRemovalOverwriteMarker) ... ok runTest (__main__.DefaultsRemovalToplevel) ... ok runTest (__main__.DefaultsRemovalToplevelFormat) ... ok runTest (__main__.DefaultsRemovalToplevelInverse) ... ok runTest (__main__.DoNotCollapseMultiplyReferencedGradients) ... ok runTest (__main__.DoNotCommonizeAttributesOnReferencedElements) ... ok runTest (__main__.DoNotConvertShortColorNames) ... ok runTest (__main__.DoNotOptimzePathIfLarger) ... ok runTest (__main__.DoNotRemoveChainedRefsInDefs) ... ok runTest (__main__.DoNotRemoveCommonAttributesOnParentIfAtLeastOneUsed) ... ok runTest (__main__.DoNotRemoveDescriptionWithOnlyText) ... ok runTest (__main__.DoNotRemoveDescriptiveElementsWithOnlyText) ... ok runTest (__main__.DoNotRemoveEmptySegmentsFromPathWithRoundSquareLineCaps) ... ok runTest (__main__.DoNotRemoveGradientsWhenReferencedInStyleCss) ... ok runTest (__main__.DoNotRemoveGroupsWithIDsInDefs) ... ok runTest (__main__.DoNotRemoveMetadataWithOnlyText) ... ok runTest (__main__.DoNotRemoveNestedGroupsWithDesc) ... ok runTest (__main__.DoNotRemoveNestedGroupsWithTitle) ... ok runTest (__main__.DoNotRemoveOrientAutoOnMarker) ... ok runTest (__main__.DoNotRemoveOverflowVisibleOnMarker) ... ok runTest (__main__.DoNotRemovePolgonLastPoint) ... ok runTest (__main__.DoNotRemoveTitleWithOnlyText) ... ok runTest (__main__.DoNotRemoveUselessNestedGroups) ... ok runTest (__main__.DoNotStripCommentsOutsideOfRoot) ... ok runTest (__main__.DoNotStripDoctype) ... ok runTest (__main__.DoNotStripXmlSpaceAttribute) ... ok runTest (__main__.DocWithFlowtext) ... ok runTest (__main__.DocWithNoFlowtext) ... ok runTest (__main__.DontRemoveCommonAttributesIfParentHasTextNodes) ... ok runTest (__main__.DuplicateGradientsUpdateStyle) ... ok test_disable_embed_rasters (__main__.EmbedRasters) ... ok test_raster_formats (__main__.EmbedRasters) ... ok test_raster_paths_local (__main__.EmbedRasters) ... ok test_raster_paths_local_absolute (__main__.EmbedRasters) ... ok test_raster_paths_remote (__main__.EmbedRasters) ... ok test_scourString (__main__.EmptyOptions) ... ok test_scourXmlFile (__main__.EmptyOptions) ... ok test_start (__main__.EmptyOptions) ... ok runTest (__main__.EnableCommentStrippingOption) ... ok runTest (__main__.EnsureLineEndings) ... ok runTest (__main__.EnsurePreserveWhitespaceOnNonTextElements) ... ok runTest (__main__.GetAttrPrefixRight) ... ok runTest (__main__.GetElementById) ... ok runTest (__main__.GradientReferencedByStyleCDATA) ... ok runTest (__main__.GroupCreation) ... ok runTest (__main__.GroupCreationForInheritableAttributesOnly) ... ok runTest (__main__.GroupNoCreation) ... ok runTest (__main__.GroupNoCreationForTspan) ... ok test_sibling_merge (__main__.GroupSiblingMerge) ... ok test_sibling_merge_crash (__main__.GroupSiblingMerge) ... ok test_sibling_merge_disabled (__main__.GroupSiblingMerge) ... ok runTest (__main__.HandleEmptyStyleElement) ... ok runTest (__main__.HandleEncodingISO_8859_15) ... ok runTest (__main__.HandleEncodingUTF8) ... ok runTest (__main__.HandleQuotesInAttributes) ... ok runTest (__main__.HandleSciNoInPathData) ... ok runTest (__main__.InheritGradientUnitsUponCollapsing) ... ok runTest (__main__.InvalidOptions) ... ok runTest (__main__.KeepInkscapeNamespaceDeclarationsWhenKeepEditorData) ... ok runTest (__main__.KeepPrecisionInPathDataIfSameLength) ... ok runTest (__main__.KeepReferencedFonts) ... ok runTest (__main__.KeepSodipodiNamespaceDeclarationsWhenKeepEditorData) ... ok runTest (__main__.KeepStrokeWhenInheritedByChild) ... ok runTest (__main__.KeepStrokeWhenInheritedFromParent) ... ok runTest (__main__.KeepStrokeWidthWhenInheritedByChild) ... ok runTest (__main__.KeepTitleInDefs) ... ok runTest (__main__.KeepUnreferencedDefs) ... ok runTest (__main__.KeepUnreferencedIDsWhenEnabled) ... ok runTest (__main__.LimitPrecisionInControlPointPathData) ... ok runTest (__main__.LimitPrecisionInPathData) ... ok runTest (__main__.MarkerOnSvgElements) ... ok runTest (__main__.MoveCommonAttributesToParent) ... ok runTest (__main__.MoveSVGElementsToDefaultNamespace) ... ok runTest (__main__.MustKeepGInSwitch) ... ok runTest (__main__.MustKeepGInSwitch2) ... ok runTest (__main__.NamespaceDeclPrefixesInXMLWhenNotInDefaultNamespace) ... ok runTest (__main__.NoAdobeCustomElements) ... ok runTest (__main__.NoAdobeExtensibilityElements) ... ok runTest (__main__.NoAdobeFlowsElements) ... ok runTest (__main__.NoAdobeGraphsElements) ... ok runTest (__main__.NoAdobeIllustratorElements) ... ok runTest (__main__.NoAdobeImageReplacementElements) ... ok runTest (__main__.NoAdobeSVGViewerElements) ... ok runTest (__main__.NoAdobeSaveForWebElements) ... ok runTest (__main__.NoAdobeVariablesElements) ... ok runTest (__main__.NoAdobeXPathElements) ... ok runTest (__main__.NoInkscapeAttributes) ... ok runTest (__main__.NoInkscapeElements) ... ok runTest (__main__.NoInkscapeNamespaceDecl) ... ok runTest (__main__.NoSodipodiAttributes) ... ok runTest (__main__.NoSodipodiElements) ... ok runTest (__main__.NoSodipodiNamespaceDecl) ... ok runTest (__main__.OverrideGradientUnitsUponCollapsing) ... ok runTest (__main__.ParseStyleAttribute) ... ok runTest (__main__.PathCommandRewrites) ... ok runTest (__main__.PathImplicitLineWithMoveCommands) ... ok runTest (__main__.PreserveQuotesInStyles) ... ok runTest (__main__.PreserveXLinkHrefWhenCollapsingReferencedGradients) ... ok runTest (__main__.PropagateCommonAttributesUp) ... ok test_protect_ids_list (__main__.ProtectIDs) ... ok test_protect_ids_noninkscape (__main__.ProtectIDs) ... ok test_protect_ids_prefix (__main__.ProtectIDs) ... ok test_protect_none (__main__.ProtectIDs) ... ok runTest (__main__.RemoveCommonAttributesFromChild) ... ok runTest (__main__.RemoveDefaultAttributeOrderSVGLengthCrash) ... ok runTest (__main__.RemoveDefaultAttributeStdDeviationSVGLengthCrash) ... ok runTest (__main__.RemoveDefaultGradCXValue) ... ok runTest (__main__.RemoveDefaultGradCYValue) ... ok runTest (__main__.RemoveDefaultGradFXValue) ... ok runTest (__main__.RemoveDefaultGradFYValue) ... ok runTest (__main__.RemoveDefaultGradGradientUnitsValue) ... ok runTest (__main__.RemoveDefaultGradRValue) ... ok runTest (__main__.RemoveDefaultGradSpreadMethodValue) ... ok runTest (__main__.RemoveDefaultGradX1Value) ... ok runTest (__main__.RemoveDefaultGradX2Value) ... ok runTest (__main__.RemoveDefaultGradY1Value) ... ok runTest (__main__.RemoveDefaultGradY2Value) ... ok runTest (__main__.RemoveDefsWithUnreferencedElements) ... ok runTest (__main__.RemoveDefsWithWhitespace) ... ok runTest (__main__.RemoveDelimiterBeforeNegativeCoordsInPath) ... ok runTest (__main__.RemoveDescriptionsOption) ... ok runTest (__main__.RemoveDescriptiveElementsOption) ... ok runTest (__main__.RemoveDuplicateLinearGradientStops) ... ok runTest (__main__.RemoveDuplicateLinearGradientStopsPct) ... ok runTest (__main__.RemoveDuplicateLinearGradients) ... ok runTest (__main__.RemoveDuplicateRadialGradientStops) ... ok runTest (__main__.RemoveDuplicateRadialGradients) ... ok runTest (__main__.RemoveDuplicateRadialGradientsEnsureMasterHasID) ... ok runTest (__main__.RemoveEmptyDescriptionElement) ... ok runTest (__main__.RemoveEmptyDescriptiveElements) ... ok runTest (__main__.RemoveEmptyGElements) ... ok runTest (__main__.RemoveEmptyLineSegmentsFromPath) ... ok runTest (__main__.RemoveEmptyMetadataElement) ... ok runTest (__main__.RemoveEmptySegmentsFromPathWithButtLineCaps) ... ok runTest (__main__.RemoveEmptyTitleElement) ... ok runTest (__main__.RemoveFillOpacityWhenFillNone) ... ok runTest (__main__.RemoveFillRuleWhenFillNone) ... ok runTest (__main__.RemoveFontStylesFromNonTextShapes) ... ok runTest (__main__.RemoveMetadataOption) ... ok runTest (__main__.RemoveNestedDefs) ... ok runTest (__main__.RemoveRedundantSvgNamespaceDeclaration) ... ok runTest (__main__.RemoveRedundantSvgNamespacePrefix) ... ok runTest (__main__.RemoveStrokeDasharrayWhenStrokeNone) ... ok runTest (__main__.RemoveStrokeDasharrayWhenStrokeTransparent) ... ok runTest (__main__.RemoveStrokeDasharrayWhenStrokeWidthZero) ... ok runTest (__main__.RemoveStrokeDashoffsetWhenStrokeNone) ... ok runTest (__main__.RemoveStrokeDashoffsetWhenStrokeTransparent) ... ok runTest (__main__.RemoveStrokeDashoffsetWhenStrokeWidthZero) ... ok runTest (__main__.RemoveStrokeLinecapWhenStrokeNone) ... ok runTest (__main__.RemoveStrokeLinecapWhenStrokeTransparent) ... ok runTest (__main__.RemoveStrokeLinecapWhenStrokeWidthZero) ... ok runTest (__main__.RemoveStrokeLinejoinWhenStrokeNone) ... ok runTest (__main__.RemoveStrokeLinejoinWhenStrokeTransparent) ... ok runTest (__main__.RemoveStrokeLinejoinWhenStrokeWidthZero) ... ok runTest (__main__.RemoveStrokeOpacityWhenStrokeNone) ... ok runTest (__main__.RemoveStrokeOpacityWhenStrokeWidthZero) ... ok runTest (__main__.RemoveStrokeWhenStrokeNone) ... ok runTest (__main__.RemoveStrokeWhenStrokeTransparent) ... ok runTest (__main__.RemoveStrokeWhenStrokeWidthZero) ... ok runTest (__main__.RemoveStrokeWidthWhenStrokeNone) ... ok runTest (__main__.RemoveStrokeWidthWhenStrokeTransparent) ... ok runTest (__main__.RemoveTitlesOption) ... ok runTest (__main__.RemoveTrailingZerosFromPath) ... ok runTest (__main__.RemoveTrailingZerosFromPathAfterCalculation) ... ok runTest (__main__.RemoveUnnecessaryPolygonEndPoint) ... ok runTest (__main__.RemoveUnreferencedDefs) ... ok runTest (__main__.RemoveUnreferencedElementInDefs) ... ok runTest (__main__.RemoveUnreferencedIDsWhenEnabled) ... ok runTest (__main__.RemoveUnreferencedLinearGradient) ... ok runTest (__main__.RemoveUnreferencedPattern) ... ok runTest (__main__.RemoveUnreferencedRadialGradient) ... ok runTest (__main__.RemoveUnusedAttributesOnParent) ... ok runTest (__main__.RemoveUselessNestedGroups) ... ok runTest (__main__.RereferenceForGradientWithFallback) ... ok runTest (__main__.RereferenceForLinearGradient) ... ok runTest (__main__.RereferenceForRadialGradient) ... ok runTest (__main__.RoundPathData) ... ok runTest (__main__.ScourLengthsWithUnits) ... ok runTest (__main__.ScourPolygonCoordsSciNo) ... ok runTest (__main__.ScourPolygonNegativeCoordFirst) ... ok runTest (__main__.ScourPolygonNegativeCoords) ... ok runTest (__main__.ScourPolylineCoordsSciNo) ... ok runTest (__main__.ScourPolylineNegativeCoordFirst) ... ok runTest (__main__.ScourPolylineNegativeCoords) ... ok runTest (__main__.ScourUnitlessLengths) ... ok runTest (__main__.ShortenIDsInStyleCDATA) ... ok runTest (__main__.ShortenIDsOption) ... ok runTest (__main__.ShortenIDsStableOutput) ... ok runTest (__main__.StripXmlPrologOption) ... ok runTest (__main__.StripXmlSpaceAttribute) ... ok runTest (__main__.StyleToAttr) ... ok runTest (__main__.TransformIdentityMatrix) ... ok runTest (__main__.TransformIdentityRotation) ... ok runTest (__main__.TransformIdentityScale) ... ok runTest (__main__.TransformIdentitySkewX) ... ok runTest (__main__.TransformIdentitySkewY) ... ok runTest (__main__.TransformIdentityTranslate) ... ok runTest (__main__.TransformRotate135) ... ok runTest (__main__.TransformRotate45) ... ok runTest (__main__.TransformRotate90) ... ok runTest (__main__.TransformRotateCCW135) ... ok runTest (__main__.TransformRotateCCW45) ... ok runTest (__main__.TransformRotateCCW90) ... ok runTest (__main__.TransformRotation3Args) ... ok runTest (__main__.TransformRotationRange719_5) ... ok runTest (__main__.TransformRotationRangeCCW540_0) ... ok runTest (__main__.TransformScale2by3) ... ok runTest (__main__.TransformScaleMinus1) ... ok runTest (__main__.TransformTranslate) ... ok runTest (__main__.TranslateColorNamesIntoHex) ... ok runTest (__main__.TranslateExtendedColorNamesIntoHex) ... ok runTest (__main__.TranslateLongHexColorIntoShortHex) ... ok runTest (__main__.TranslateRGBIntoHex) ... ok runTest (__main__.TranslateRGBPctIntoHex) ... ok runTest (__main__.UseScientificNotationToShortenCoordsInPath) ... ok test_viewbox_create (__main__.ViewBox) ... ok test_viewbox_remove_width_and_height (__main__.ViewBox) ... ok runTest (__main__.WellFormedXMLAmpersandInAttrValue) ... ok runTest (__main__.WellFormedXMLAmpersandInTextContent) ... ok runTest (__main__.WellFormedXMLLesserThanInAttrValue) ... ok runTest (__main__.WellFormedXMLLesserThanInTextContent) ... ok runTest (__main__.WellFormedXMLNamespacePrefixKeepUsedAttributePrefix) ... ok runTest (__main__.WellFormedXMLNamespacePrefixKeepUsedElementPrefix) ... ok runTest (__main__.WellFormedXMLNamespacePrefixRemoveUnused) ... ok test_basic (__main__.Whitespace) ... ok test_important_whitespace (__main__.Whitespace) ... ok test_incorrect_whitespace (__main__.Whitespace) ... ok test_inheritance (__main__.Whitespace) ... ok test_newlines (__main__.Whitespace) ... ok runTest (__main__.XmlEntities) ... ok ---------------------------------------------------------------------- Ran 264 tests OK py$(PYV): OK congratulations :)