<86>May 7 04:09:26 userdel[3355609]: delete user 'rooter' <86>May 7 04:09:26 userdel[3355609]: removed group 'rooter' owned by 'rooter' <86>May 7 04:09:26 userdel[3355609]: removed shadow group 'rooter' owned by 'rooter' <86>May 7 04:09:26 groupadd[3355645]: group added to /etc/group: name=rooter, GID=654 <86>May 7 04:09:26 groupadd[3355645]: group added to /etc/gshadow: name=rooter <86>May 7 04:09:26 groupadd[3355645]: new group: name=rooter, GID=654 <86>May 7 04:09:26 useradd[3355675]: new user: name=rooter, UID=654, GID=654, home=/root, shell=/bin/bash <86>May 7 04:09:26 userdel[3355734]: delete user 'builder' <86>May 7 04:09:26 userdel[3355734]: removed group 'builder' owned by 'builder' <86>May 7 04:09:26 userdel[3355734]: removed shadow group 'builder' owned by 'builder' <86>May 7 04:09:26 groupadd[3355796]: group added to /etc/group: name=builder, GID=655 <86>May 7 04:09:26 groupadd[3355796]: group added to /etc/gshadow: name=builder <86>May 7 04:09:26 groupadd[3355796]: new group: name=builder, GID=655 <86>May 7 04:09:26 useradd[3355820]: new user: name=builder, UID=655, GID=655, home=/usr/src, shell=/bin/bash <13>May 7 04:09:28 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>May 7 04:09:28 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824514 installed <13>May 7 04:09:28 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274915 installed <13>May 7 04:09:28 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825069 installed <13>May 7 04:09:28 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 7 04:09:28 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 7 04:09:28 rpmi: ca-certificates-2021.03.24-alt1 sisyphus+268304.300.1.1 1616591829 installed <13>May 7 04:09:28 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>May 7 04:09:28 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274915 installed <13>May 7 04:09:28 rpmi: libcrypto1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684123 installed <13>May 7 04:09:28 rpmi: libssl1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684123 installed <13>May 7 04:09:28 rpmi: python3-3.9.4-alt1 sisyphus+268966.100.1.1 1617608921 installed <13>May 7 04:09:29 rpmi: python3-base-3.9.4-alt1 sisyphus+268966.100.1.1 1617608921 installed <13>May 7 04:09:29 rpmi: libpython3-3.9.4-alt1 sisyphus+268966.100.1.1 1617608921 installed <13>May 7 04:09:29 rpmi: tests-for-installed-python3-pkgs-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>May 7 04:09:29 rpmi: rpm-build-python3-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>May 7 04:09:31 rpmi: libpython-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>May 7 04:09:31 rpmi: python2-base-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>May 7 04:09:31 rpmi: python-modules-encodings-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>May 7 04:09:31 rpmi: python-modules-compiler-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>May 7 04:09:31 rpmi: python-modules-email-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>May 7 04:09:31 rpmi: python-modules-unittest-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>May 7 04:09:31 rpmi: python-modules-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>May 7 04:09:31 rpmi: python-modules-ctypes-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>May 7 04:09:31 rpmi: python-modules-multiprocessing-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>May 7 04:09:31 rpmi: python-modules-logging-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>May 7 04:09:31 rpmi: python-tools-2to3-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/python3-module-repoze.cssutils-1.0a6-alt3.nosrc.rpm (w1.gzdio) <13>May 7 04:09:33 rpmi: python3-module-pkg_resources-1:56.0.0-alt2 sisyphus+270533.1160.6.1 1619683818 installed <13>May 7 04:09:33 rpmi: libtinfo-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851422 installed <13>May 7 04:09:33 rpmi: libncurses-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851422 installed <13>May 7 04:09:33 rpmi: python3-dev-3.9.4-alt1 sisyphus+268966.100.1.1 1617608921 installed <13>May 7 04:09:33 rpmi: python3-module-setuptools-1:56.0.0-alt2 sisyphus+270533.1160.6.1 1619683818 installed Installing python3-module-repoze.cssutils-1.0a6-alt3.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.19253 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-repoze.cssutils-1.0a6 + echo 'Source #0 (python3-module-repoze.cssutils-1.0a6.tar):' Source #0 (python3-module-repoze.cssutils-1.0a6.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-repoze.cssutils-1.0a6.tar + cd python3-module-repoze.cssutils-1.0a6 + /bin/chmod -c -Rf u+rwX,go-w . + find ./ -type f -name '*.py' -exec 2to3 -w -n '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./src/repoze/cssutils/tests/test_css_with_minidom.py RefactoringTool: Refactored ./src/repoze/cssutils/tests/test_css_media.py RefactoringTool: No changes to ./src/repoze/cssutils/tests/test_css_errors.py RefactoringTool: Refactored ./src/repoze/cssutils/tests/test_css_cascade.py --- ./src/repoze/cssutils/tests/test_css_with_minidom.py (original) +++ ./src/repoze/cssutils/tests/test_css_with_minidom.py (refactored) @@ -81,42 +81,42 @@ """ -documentParsedWithCSS = (u'slideshow', +documentParsedWithCSS = ('slideshow', {'bgcolor': 'black', 'fgcolor': 'white'}, - [(u'title', + [('title', {'bgcolor': 'black', 'font-size': ('80', 'pt'), 'fgcolor': 'white'}, []), - (u'slide', + ('slide', {'bgcolor': 'black', 'image': 'page-image.png', 'fgcolor': 'white'}, - [(u'title', + [('title', {'bgcolor': 'black', 'font-size': ('40', 'pt'), 'fgcolor': 'white'}, []), - (u'point', - {'bgcolor': 'black', 'font-size': 'medium', 'fgcolor': 'white'}, - []), - (u'point', + ('point', + {'bgcolor': 'black', 'font-size': 'medium', 'fgcolor': 'white'}, + []), + ('point', {'bgcolor': 'black', 'font-size': 'medium', 'fgcolor': 'white'}, [])]), - (u'slide', + ('slide', {'bgcolor': 'black', 'image': 'page-image.png', 'fgcolor': 'white'}, - [(u'title', + [('title', {'bgcolor': 'black', 'font-size': ('40', 'pt'), 'fgcolor': 'white'}, []), - (u'point', - {'bgcolor': 'black', 'font-size': 'medium', 'fgcolor': 'white'}, - []), - (u'point', - {'bgcolor': 'black', 'font-size': 'medium', 'fgcolor': 'white'}, - []), - (u'point', + ('point', + {'bgcolor': 'black', 'font-size': 'medium', 'fgcolor': 'white'}, + []), + ('point', + {'bgcolor': 'black', 'font-size': 'medium', 'fgcolor': 'white'}, + []), + ('point', {'bgcolor': 'black', 'font-size': 'medium', 'fgcolor': 'white'}, [])]), - (u'slide', + ('slide', {'bgcolor': 'black', 'image': 'last-page-image.png', 'fgcolor': 'yellow'}, - [(u'title', + [('title', {'bgcolor': 'black', 'font-size': ('40', 'pt'), 'fgcolor': 'yellow'}, []), - (u'point', + ('point', {'bgcolor': 'yellow', 'font-size': 'xx-large', 'fgcolor': 'red'}, []) ] @@ -199,7 +199,7 @@ del xml.dom.minidom.Element.getCSSAttr def test(self): - slideshow = visitElementNodes(self.dom, cssCascade=self.cssCascade).next() + slideshow = next(visitElementNodes(self.dom, cssCascade=self.cssCascade)) self.assertEqual(slideshow, documentParsedWithCSS) --- ./src/repoze/cssutils/tests/test_css_media.py (original) +++ ./src/repoze/cssutils/tests/test_css_media.py (refactored) @@ -44,7 +44,7 @@ try: try: stylesheet = parser.parseFile(cssfile) - except CSSParseError, err: + except CSSParseError as err: assert False, 'CSSParser failed to parse \'%s\':: %s' % (cssfilename, err) finally: cssfile.close() --- ./src/repoze/cssutils/tests/test_css_cascade.py (original) +++ ./src/repoze/cssutils/tests/test_css_cascade.py (refactored) @@ -70,7 +70,8 @@ self.assertCSSAttrValueEqual(result, value='url( %s )'%result) def testFunction(self): - def assertEqualFn(result, (name, params)): + def assertEqualFn(result, xxx_todo_changeme): + (name, params) = xxx_todo_changeme self.assertEqual(result.name, name) self.assertEqual(result.params, params) @@ -164,7 +165,8 @@ self.assertCSSValueEqual('value: url(%s)'%result, result) def testFunction(self): - def assertEqualFn(result, (name, params)): + def assertEqualFn(result, xxx_todo_changeme1): + (name, params) = xxx_todo_changeme1 self.assertEqual(result.name, name) self.assertEqual(result.params, params) @@ -198,7 +200,7 @@ def assertSpecifityEqual(self, testcss, goodValue): stylesheet = self.parseCSS(testcss) - for selector in stylesheet.iterkeys(): + for selector in stylesheet.keys(): self.assertEqual(selector.specificity(), goodValue) # Tests @@ -207,23 +209,23 @@ stylesheet = self.parseCSS('node{value: 1}') self.assertEqual(len(stylesheet), 1) - (selector, declarations), = stylesheet.items() + (selector, declarations), = list(stylesheet.items()) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers, ()) self.assertEqual(declarations, {'value':'1'}) def testMultiple(self): stylesheet = self.parseCSS('nodeA, nodeB, nodeC {value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations , {'value':'1'}) - self.assert_(selector.name in ('nodeA', 'nodeB', 'nodeC')) + self.assertTrue(selector.name in ('nodeA', 'nodeB', 'nodeC')) self.assertEqual(selector.qualifiers, ()) def testCommentInString(self): stylesheet = self.parseCSS('node{start: "stuff /* here"; stop: "more */ stuff"; /* not-included: True */}') self.assertEqual(len(stylesheet), 1) - (selector, declarations), = stylesheet.items() + (selector, declarations), = list(stylesheet.items()) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers, ()) self.assertEqual(len(declarations), 2) @@ -231,14 +233,14 @@ def testMultipleWithNewlines(self): stylesheet = self.parseCSS('nodeA,\nnodeB,\nnodeC\n{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations , {'value':'1'}) - self.assert_(selector.name in ('nodeA', 'nodeB', 'nodeC')) + self.assertTrue(selector.name in ('nodeA', 'nodeB', 'nodeC')) self.assertEqual(selector.qualifiers, ()) def testMultipleBlocks(self): stylesheet = self.parseCSS('nodeA{value: 1}nodeB.myClass{stuff: 2}nodeC#myId{grok:"yes"}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): if selector.name == 'nodeA': self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.qualifiers, ()) @@ -253,21 +255,21 @@ def testId(self): stylesheet = self.parseCSS('node#myId{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].hashId, 'myId') def testClass(self): stylesheet = self.parseCSS('node.myClass{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].classId, 'myClass') def testClassId(self): stylesheet = self.parseCSS('node.myClass#myId{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].classId, 'myClass') @@ -275,7 +277,7 @@ def testIdClass(self): stylesheet = self.parseCSS('node#myId.myClass{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].hashId, 'myId') @@ -283,7 +285,7 @@ def testAttributeExists(self): stylesheet = self.parseCSS('node[myAttr]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -292,7 +294,7 @@ def testAttributeEqual(self): stylesheet = self.parseCSS('node[myAttr=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -301,7 +303,7 @@ def testAttributeContains(self): stylesheet = self.parseCSS('node[myAttr~=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -310,7 +312,7 @@ def testAttributeContains2(self): stylesheet = self.parseCSS('node[myAttr|=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -319,7 +321,7 @@ def testPseudo(self): stylesheet = self.parseCSS('node:myPseudo{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') @@ -327,21 +329,21 @@ def testPseudoFn(self): stylesheet = self.parseCSS('node:myPseudo(paramA){value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') self.assertEqual(selector.qualifiers[0].params, ('paramA',)) stylesheet = self.parseCSS('node:myPseudo(paramA, paramB){value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') self.assertEqual(selector.qualifiers[0].params, ('paramA', 'paramB')) stylesheet = self.parseCSS('node:myPseudo(paramA paramB){value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') @@ -349,7 +351,7 @@ def testCombinerPlain(self): stylesheet = self.parseCSS('nodeA nodeB {value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'nodeB') self.assertEqual(selector.qualifiers[0].op, ' ') @@ -358,7 +360,7 @@ def testCombinerAdd(self): stylesheet = self.parseCSS('nodeA + nodeB {value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'nodeB') self.assertEqual(selector.qualifiers[0].op, '+') @@ -367,7 +369,7 @@ def testCombinerGreater(self): stylesheet = self.parseCSS('nodeA > nodeB {value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'nodeB') self.assertEqual(selector.qualifiers[0].op, '>') @@ -387,40 +389,40 @@ def testAnyId(self): stylesheet = self.parseCSS('*#myId{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].hashId, 'myId') stylesheet = self.parseCSS('#myId{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].hashId, 'myId') def testAnyClass(self): stylesheet = self.parseCSS('*.myClass{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].classId, 'myClass') stylesheet = self.parseCSS('.myClass{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].classId, 'myClass') def testAnyClassId(self): stylesheet = self.parseCSS('*.myClass#myId{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].classId, 'myClass') self.assertEqual(selector.qualifiers[1].hashId, 'myId') stylesheet = self.parseCSS('.myClass#myId{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].classId, 'myClass') @@ -428,14 +430,14 @@ def testAnyIdClass(self): stylesheet = self.parseCSS('*#myId.myClass{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].hashId, 'myId') self.assertEqual(selector.qualifiers[1].classId, 'myClass') stylesheet = self.parseCSS('#myId.myClass{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].hashId, 'myId') @@ -443,7 +445,7 @@ def testAnyAttributeExists(self): stylesheet = self.parseCSS('*[myAttr]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -451,7 +453,7 @@ self.assertEqual(selector.qualifiers[0].value, NotImplemented) stylesheet = self.parseCSS('[myAttr]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -460,7 +462,7 @@ def testAnyAttributeEqual(self): stylesheet = self.parseCSS('*[myAttr=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -468,7 +470,7 @@ self.assertEqual(selector.qualifiers[0].value, 'something') stylesheet = self.parseCSS('[myAttr=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -477,7 +479,7 @@ def testAnyAttributeContains(self): stylesheet = self.parseCSS('*[myAttr~=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -485,7 +487,7 @@ self.assertEqual(selector.qualifiers[0].value, 'something') stylesheet = self.parseCSS('[myAttr~=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -494,7 +496,7 @@ def testAnyAttributeContains2(self): stylesheet = self.parseCSS('*[myAttr|=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -502,7 +504,7 @@ self.assertEqual(selector.qualifiers[0].value, 'something') stylesheet = self.parseCSS('[myAttr|=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -511,14 +513,14 @@ def testAnyPseudo(self): stylesheet = self.parseCSS('*:myPseudo{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') self.assertEqual(selector.qualifiers[0].params, ()) stylesheet = self.parseCSS(':myPseudo{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') @@ -526,28 +528,28 @@ def testAnyPseudoFn(self): stylesheet = self.parseCSS('*:myPseudo(paramA){value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') self.assertEqual(selector.qualifiers[0].params, ('paramA',)) stylesheet = self.parseCSS(':myPseudo(paramA){value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') self.assertEqual(selector.qualifiers[0].params, ('paramA',)) stylesheet = self.parseCSS('*:myPseudo(paramA, paramB){value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') self.assertEqual(selector.qualifiers[0].params, ('paramA', 'paramB')) stylesheet = self.parseCSS(':myPseudo(paramA, paramB){value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') @@ -555,7 +557,7 @@ def testAnyCombinerPlain(self): stylesheet = self.parseCSS('* nodeB {value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'nodeB') self.assertEqual(selector.qualifiers[0].op, ' ') @@ -564,7 +566,7 @@ def testAnyCombinerAdd(self): stylesheet = self.parseCSS('* + nodeB {value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'nodeB') self.assertEqual(selector.qualifiers[0].op, '+') @@ -573,7 +575,7 @@ def testAnyCombinerGreater(self): stylesheet = self.parseCSS('* > nodeB {value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'nodeB') self.assertEqual(selector.qualifiers[0].op, '>') @@ -603,7 +605,7 @@ return ruleset def _atImport(self, import_, mediums, cssParser): - self.assert_(self.parser is cssParser) + self.assertTrue(self.parser is cssParser) self.assertEqual(import_, self.goodImportValue) self.assertEqual(mediums, self.goodMediumValue) if self.cssImportString is not None: @@ -626,7 +628,7 @@ return src, None def _checkResultStylesheet(self, stylesheet): - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers, ()) @@ -668,17 +670,17 @@ """ stylesheet = self.parseCSS(testcss) - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations,{'color': 'black'}) if selector.nsPrefix == '': - self.assert_(selector.name in ('*', 'node')) + self.assertTrue(selector.name in ('*', 'node'))RefactoringTool: Refactored ./src/repoze/cssutils/tests/test_css.py self.assertEqual(selector.namespace, None) elif selector.nsPrefix == '*': - self.assert_(selector.name in ('*', 'node')) + self.assertTrue(selector.name in ('*', 'node')) self.assertEqual(selector.namespace, "*") elif selector.nsPrefix == 'foo': - self.assert_(selector.name in ('*', 'node')) + self.assertTrue(selector.name in ('*', 'node')) self.assertEqual(selector.namespace, "foo:namespace") else: self.fail('Invalid state for selector %r'%selector) --- ./src/repoze/cssutils/tests/test_css.py (original) +++ ./src/repoze/cssutils/tests/test_css.py (refactored) @@ -71,7 +71,8 @@ def testFunction(self): - def assertEqualFn(result, (name, params)): + def assertEqualFn(result, xxx_todo_changeme): + (name, params) = xxx_todo_changeme self.assertEqual(result.name, name) self.assertEqual(result.params, params) @@ -165,7 +166,8 @@ self.assertCSSValueEqual('value: url(%s)'%result, result) def testFunction(self): - def assertEqualFn(result, (name, params)): + def assertEqualFn(result, xxx_todo_changeme1): + (name, params) = xxx_todo_changeme1 self.assertEqual(result.name, name) self.assertEqual(result.params, params) @@ -199,7 +201,7 @@ def assertSpecifityEqual(self, testcss, goodValue): stylesheet = self.parseCSS(testcss) - for selector in stylesheet.iterkeys(): + for selector in stylesheet.keys(): self.assertEqual(selector.specificity(), goodValue) # Tests @@ -208,23 +210,23 @@ stylesheet = self.parseCSS('node{value: 1}') self.assertEqual(len(stylesheet), 1) - (selector, declarations), = stylesheet.items() + (selector, declarations), = list(stylesheet.items()) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers, ()) self.assertEqual(declarations, {'value':'1'}) def testMultiple(self): stylesheet = self.parseCSS('nodeA, nodeB, nodeC {value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations , {'value':'1'}) - self.assert_(selector.name in ('nodeA', 'nodeB', 'nodeC')) + self.assertTrue(selector.name in ('nodeA', 'nodeB', 'nodeC')) self.assertEqual(selector.qualifiers, ()) def testCommentInString(self): stylesheet = self.parseCSS('node{start: "stuff /* here"; stop: "more */ stuff"; /* not-included: True */}') self.assertEqual(len(stylesheet), 1) - (selector, declarations), = stylesheet.items() + (selector, declarations), = list(stylesheet.items()) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers, ()) self.assertEqual(len(declarations), 2) @@ -232,14 +234,14 @@ def testMultipleWithNewlines(self): stylesheet = self.parseCSS('nodeA,\nnodeB,\nnodeC\n{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations , {'value':'1'}) - self.assert_(selector.name in ('nodeA', 'nodeB', 'nodeC')) + self.assertTrue(selector.name in ('nodeA', 'nodeB', 'nodeC')) self.assertEqual(selector.qualifiers, ()) def testMultipleBlocks(self): stylesheet = self.parseCSS('nodeA{value: 1}nodeB.myClass{stuff: 2}nodeC#myId{grok:"yes"}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): if selector.name == 'nodeA': self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.qualifiers, ()) @@ -254,21 +256,21 @@ def testId(self): stylesheet = self.parseCSS('node#myId{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].hashId, 'myId') def testClass(self): stylesheet = self.parseCSS('node.myClass{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].classId, 'myClass') def testClassId(self): stylesheet = self.parseCSS('node.myClass#myId{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].classId, 'myClass') @@ -276,7 +278,7 @@ def testIdClass(self): stylesheet = self.parseCSS('node#myId.myClass{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].hashId, 'myId') @@ -284,7 +286,7 @@ def testAttributeExists(self): stylesheet = self.parseCSS('node[myAttr]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -293,7 +295,7 @@ def testAttributeEqual(self): stylesheet = self.parseCSS('node[myAttr=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -302,7 +304,7 @@ def testAttributeContains(self): stylesheet = self.parseCSS('node[myAttr~=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -311,7 +313,7 @@ def testAttributeContains2(self): stylesheet = self.parseCSS('node[myAttr|=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -320,7 +322,7 @@ def testPseudo(self): stylesheet = self.parseCSS('node:myPseudo{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') @@ -328,21 +330,21 @@ def testPseudoFn(self): stylesheet = self.parseCSS('node:myPseudo(paramA){value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') self.assertEqual(selector.qualifiers[0].params, ('paramA',)) stylesheet = self.parseCSS('node:myPseudo(paramA, paramB){value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') self.assertEqual(selector.qualifiers[0].params, ('paramA', 'paramB')) stylesheet = self.parseCSS('node:myPseudo(paramA paramB){value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') @@ -350,7 +352,7 @@ def testCombinerPlain(self): stylesheet = self.parseCSS('nodeA nodeB {value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'nodeB') self.assertEqual(selector.qualifiers[0].op, ' ') @@ -359,7 +361,7 @@ def testCombinerAdd(self): stylesheet = self.parseCSS('nodeA + nodeB {value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'nodeB') self.assertEqual(selector.qualifiers[0].op, '+') @@ -368,7 +370,7 @@ def testCombinerGreater(self): stylesheet = self.parseCSS('nodeA > nodeB {value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'nodeB') self.assertEqual(selector.qualifiers[0].op, '>') @@ -388,40 +390,40 @@ def testAnyId(self): stylesheet = self.parseCSS('*#myId{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].hashId, 'myId') stylesheet = self.parseCSS('#myId{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].hashId, 'myId') def testAnyClass(self): stylesheet = self.parseCSS('*.myClass{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].classId, 'myClass') stylesheet = self.parseCSS('.myClass{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].classId, 'myClass') def testAnyClassId(self): stylesheet = self.parseCSS('*.myClass#myId{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].classId, 'myClass') self.assertEqual(selector.qualifiers[1].hashId, 'myId') stylesheet = self.parseCSS('.myClass#myId{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].classId, 'myClass') @@ -429,14 +431,14 @@ def testAnyIdClass(self): stylesheet = self.parseCSS('*#myId.myClass{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].hashId, 'myId') self.assertEqual(selector.qualifiers[1].classId, 'myClass') stylesheet = self.parseCSS('#myId.myClass{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].hashId, 'myId') @@ -444,7 +446,7 @@ def testAnyAttributeExists(self): stylesheet = self.parseCSS('*[myAttr]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -452,7 +454,7 @@ self.assertEqual(selector.qualifiers[0].value, NotImplemented) stylesheet = self.parseCSS('[myAttr]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -461,7 +463,7 @@ def testAnyAttributeEqual(self): stylesheet = self.parseCSS('*[myAttr=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -469,7 +471,7 @@ self.assertEqual(selector.qualifiers[0].value, 'something') stylesheet = self.parseCSS('[myAttr=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -478,7 +480,7 @@ def testAnyAttributeContains(self): stylesheet = self.parseCSS('*[myAttr~=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -486,7 +488,7 @@ self.assertEqual(selector.qualifiers[0].value, 'something') stylesheet = self.parseCSS('[myAttr~=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -495,7 +497,7 @@ def testAnyAttributeContains2(self): stylesheet = self.parseCSS('*[myAttr|=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -503,7 +505,7 @@ self.assertEqual(selector.qualifiers[0].value, 'something') stylesheet = self.parseCSS('[myAttr|=something]{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myAttr') @@ -512,14 +514,14 @@ def testAnyPseudo(self): stylesheet = self.parseCSS('*:myPseudo{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') self.assertEqual(selector.qualifiers[0].params, ()) stylesheet = self.parseCSS(':myPseudo{value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') @@ -527,28 +529,28 @@ def testAnyPseudoFn(self): stylesheet = self.parseCSS('*:myPseudo(paramA){value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') self.assertEqual(selector.qualifiers[0].params, ('paramA',)) stylesheet = self.parseCSS(':myPseudo(paramA){value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') self.assertEqual(selector.qualifiers[0].params, ('paramA',)) stylesheet = self.parseCSS('*:myPseudo(paramA, paramB){value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') self.assertEqual(selector.qualifiers[0].params, ('paramA', 'paramB')) stylesheet = self.parseCSS(':myPseudo(paramA, paramB){value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, '*') self.assertEqual(selector.qualifiers[0].name, 'myPseudo') @@ -556,7 +558,7 @@ def testAnyCombinerPlain(self): stylesheet = self.parseCSS('* nodeB {value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'nodeB') self.assertEqual(selector.qualifiers[0].op, ' ') @@ -565,7 +567,7 @@ def testAnyCombinerAdd(self): stylesheet = self.parseCSS('* + nodeB {value: 1}') - for selector, declarations in stylesheet.itemsRefactoringTool: Refactored ./src/repoze/cssutils/parser.py (): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'nodeB') self.assertEqual(selector.qualifiers[0].op, '+') @@ -574,7 +576,7 @@ def testAnyCombinerGreater(self): stylesheet = self.parseCSS('* > nodeB {value: 1}') - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'nodeB') self.assertEqual(selector.qualifiers[0].op, '>') @@ -604,7 +606,7 @@ return ruleset def _atImport(self, import_, mediums, cssParser): - self.assert_(self.parser is cssParser) + self.assertTrue(self.parser is cssParser) self.assertEqual(import_, self.goodImportValue) self.assertEqual(mediums, self.goodMediumValue) if self.cssImportString is not None: @@ -627,7 +629,7 @@ return src, None def _checkResultStylesheet(self, stylesheet): - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations, {'value':'1'}) self.assertEqual(selector.name, 'node') self.assertEqual(selector.qualifiers, ()) @@ -669,17 +671,17 @@ """ stylesheet = self.parseCSS(testcss) - for selector, declarations in stylesheet.items(): + for selector, declarations in list(stylesheet.items()): self.assertEqual(declarations,{'color': 'black'}) if selector.nsPrefix == '': - self.assert_(selector.name in ('*', 'node')) + self.assertTrue(selector.name in ('*', 'node')) self.assertEqual(selector.namespace, None) elif selector.nsPrefix == '*': - self.assert_(selector.name in ('*', 'node')) + self.assertTrue(selector.name in ('*', 'node')) self.assertEqual(selector.namespace, "*") elif selector.nsPrefix == 'foo': - self.assert_(selector.name in ('*', 'node')) + self.assertTrue(selector.name in ('*', 'node')) self.assertEqual(selector.namespace, "foo:namespace") else: self.fail('Invalid state for selector %r'%selector) --- ./src/repoze/cssutils/parser.py (original) +++ ./src/repoze/cssutils/parser.py (refactored) @@ -415,9 +415,9 @@ _orRule = lambda *args: '|'.join(args) _reflags = re.I | re.M | re.U i_hex = '[0-9a-fA-F]' - i_nonascii = u'[\200-\377]' + i_nonascii = '[\200-\377]' i_unicode = '\\\\(?:%s){1,6}\s?' % i_hex - i_escape = _orRule(i_unicode, u'\\\\[ -~\200-\377]') + i_escape = _orRule(i_unicode, '\\\\[ -~\200-\377]') i_nmstart = _orRule('[-A-Za-z_]', i_nonascii, i_escape) i_nmchar = _orRule('[-0-9A-Za-z_]', i_nonascii, i_escape) i_ident = '((?:%s)(?:%s)*)' % (i_nmstart,i_nmchar) @@ -432,11 +432,11 @@ re_hash = re.compile(i_hash, _reflags) i_rgbcolor = '(#%s{6}|#%s{3})' % (i_hex, i_hex) re_rgbcolor = re.compile(i_rgbcolor, _reflags) - i_nl = u'\n|\r\n|\r|\f' - i_escape_nl = u'\\\\(?:%s)' % i_nl - i_string_content = _orRule(u'[\t !#$%&(-~]', i_escape_nl, i_nonascii, i_escape) - i_string1 = u'\"((?:%s|\')*)\"' % i_string_content - i_string2 = u'\'((?:%s|\")*)\'' % i_string_content + i_nl = '\n|\r\n|\r|\f' + i_escape_nl = '\\\\(?:%s)' % i_nl + i_string_content = _orRule('[\t !#$%&(-~]', i_escape_nl, i_nonascii, i_escape) + i_string1 = '\"((?:%s|\')*)\"' % i_string_content + i_string2 = '\'((?:%s|\")*)\'' % i_string_content i_string = _orRule(i_string1, i_string2) re_string = re.compile(i_string, _reflags) @@ -445,33 +445,33 @@ i_string_unexpectedEnd = _orRule(i_string1_unexpectedEnd, i_striRefactoringTool: Refactored ./src/repoze/cssutils/dom.py RefactoringTool: Refactored ./src/repoze/cssutils/css.py ng2_unexpectedEnd) re_string_unexpectedEnd = re.compile(i_string_unexpectedEnd, _reflags) - i_uri = (u'url\\(\s*(?:(?:%s)|((?:%s)+))\s*\\)' + i_uri = ('url\\(\s*(?:(?:%s)|((?:%s)+))\s*\\)' % (i_string, _orRule('[!#$%&*-~]', i_nonascii, i_escape))) re_uri = re.compile(i_uri, _reflags) - i_num = u'([-+]?[0-9]+(?:\\.[0-9]+)?)|([-+]?\\.[0-9]+)' + i_num = '([-+]?[0-9]+(?:\\.[0-9]+)?)|([-+]?\\.[0-9]+)' re_num = re.compile(i_num, _reflags) i_unit = '(%%|%s)?' % i_ident re_unit = re.compile(i_unit, _reflags) i_function = i_ident + '\\(' re_function = re.compile(i_function, _reflags) - i_functionterm = u'[-+]?' + i_function + i_functionterm = '[-+]?' + i_function re_functionterm = re.compile(i_functionterm, _reflags) i_unicoderange1 = "(?:U\\+%s{1,6}-%s{1,6})" % (i_hex, i_hex) i_unicoderange2 = "(?:U\\+\?{1,6}|{h}(\?{0,5}|{h}(\?{0,4}|{h}(\?{0,3}|{h}(\?{0,2}|{h}(\??|{h}))))))" i_unicoderange = i_unicoderange1 # u'(%s|%s)' % (i_unicoderange1, i_unicoderange2) re_unicoderange = re.compile(i_unicoderange, _reflags) - i_important = u'!\s*(important)' + i_important = '!\s*(important)' re_important = re.compile(i_important, _reflags) - i_comment = u'\\s*(?:\\s*\\/\\*[^*]*\\*+([^/*][^*]*\\*+)*\\/\\s*)*' + i_comment = '\\s*(?:\\s*\\/\\*[^*]*\\*+([^/*][^*]*\\*+)*\\/\\s*)*' re_comment = re.compile(i_comment, _reflags) - i_declarationError = u'((?:[^;{}]*(?:{[^}]*})?)*)' + i_declarationError = '((?:[^;{}]*(?:{[^}]*})?)*)' re_declarationError = re.compile(i_declarationError, _reflags) - i_atKeywordErrorStart = u'([^;{]*[;{])' + i_atKeywordErrorStart = '([^;{]*[;{])' re_atKeywordErrorStart = re.compile(i_atKeywordErrorStart, _reflags) - i_atKeywordErrorGroup = u'([^{}]*[{}])' + i_atKeywordErrorGroup = '([^{}]*[{}])' re_atKeywordErrorGroup = re.compile(i_atKeywordErrorGroup, _reflags) del _orRule @@ -531,7 +531,7 @@ try: try: src, stylesheet = self._parseStylesheet(src) - except self.ParseError, err: + except self.ParseError as err: err.setFullCSSSource(src) raise finally: @@ -553,7 +553,7 @@ try: try: src, declarations = self._parseDeclarationGroup(self._stripCSS(src), braces=False) - except self.ParseError, err: + except self.ParseError as err: err.setFullCSSSource(src, inline=True) raise @@ -584,12 +584,12 @@ try: properties = [] try: - for propertyName, src in kwAttributes.iteritems(): + for propertyName, src in kwAttributes.items(): src, property = self._parseDeclarationProperty(self._stripCSS(src), propertyName) if property is not None: properties.append(property) - except self.ParseError, err: + except self.ParseError as err: err.setFullCSSSource(src, inline=True) raise @@ -1304,7 +1304,7 @@ result = rexpression.match(src) if result: - strres = filter(None, result.groups()) + strres = [_f for _f in result.groups() if _f] if strres: strres = strres[0] else: --- ./src/repoze/cssutils/dom.py (original) +++ ./src/repoze/cssutils/dom.py (refactored) @@ -36,7 +36,8 @@ def __init__(self, domElement): self.domElement = domElement - def matchesNode(self, (namespace, tagName)): + def matchesNode(self, xxx_todo_changeme): + (namespace, tagName) = xxx_todo_changeme if tagName not in ('*', self.domElement.tagName): return False if namespace in (None, '', '*'): --- ./src/repoze/cssutils/css.py (original) +++ ./src/repoze/cssutRefactoringTool: Refactored ./src/repoze/cssutils/common/testrunner.py ils/css.py (refactored) @@ -197,7 +197,7 @@ rules = self.findCSSRulesForEach(element, attrNames) return [(attrName, self._extractStyleForRule(rule, attrName, default)) - for attrName, rule in rules.iteritems()] + for attrName, rule in rules.items()] def findAllCSSRulesFor(self, element, bSorted=False): result = self._findAllCSSRulesFor(element) @@ -594,7 +594,7 @@ class CSSDeclarations(dict): def copy(self): - return self.__class__(self.iteritems()) + return self.__class__(iter(self.items())) class CSSRuleset(dict): @@ -606,17 +606,17 @@ def copy(self): result = self.__class__() - for nodeFilter, declarations in self.iteritems(): + for nodeFilter, declarations in self.items(): result[nodeFilter] = declarations.copy() def findAllCSSRulesFor(self, element): - for nodeFilter, declarations in self.iteritems(): + for nodeFilter, declarations in self.items(): if (nodeFilter.matches(element)): yield (nodeFilter, declarations) def findCSSRulesFor(self, element, attrName): ruleResults = [] - for nodeFilter, declarations in self.iteritems(): + for nodeFilter, declarations in self.items(): if (attrName in declarations) and (nodeFilter.matches(element)): ruleResults.append((nodeFilter, declarations)) ruleResults.sort() @@ -628,7 +628,7 @@ return self.findCSSRulesFor(element, attrName)[-1:] def merge(self, ruleset): - for rhsNodeFilter, rhsDelcarations in ruleset.iteritems(): + for rhsNodeFilter, rhsDelcarations in ruleset.items(): declarations = self.setdefault(rhsNodeFilter, rhsDelcarations) if declarations is not rhsDelcarations: declarations.update(rhsDelcarations) @@ -636,7 +636,7 @@ class CSSInlineRuleset(CSSRuleset, CSSDeclarations): def copy(self): - return self.__class__(self.iteritems()) + return self.__class__(iter(self.items())) def findAllCSSRulesFor(self, element): yield (CSSInlineSelector(), self) @@ -672,22 +672,22 @@ self.__class__(self.normal.copy(), self.important.copy()) def values(self): - return list(self.itervalues()) + return list(self.values()) def keys(self): - return list(self.iterkeys()) + return list(self.keys()) def items(self): - return list(self.iteritems()) + return list(self.items()) def iterkeys(self): - return itertools.chain(self.important.iterkeys(), self.normal.iterkeys()) + return itertools.chain(iter(self.important.keys()), iter(self.normal.keys())) def itervalues(self): - return itertools.chain(self.important.itervalues(), self.normal.itervalues()) + return itertools.chain(iter(self.important.values()), iter(self.normal.values())) def iteritems(self): - return itertools.chain(self.important.iteritems(), self.normal.iteritems()) + return itertools.chain(iter(self.important.items()), iter(self.normal.items())) def __getitem__(self, key): if key in self.important: --- ./src/repoze/cssutils/common/testrunner.py (original) +++ ./src/repoze/cssutils/common/testrunner.py (refactored) @@ -28,7 +28,7 @@ return self.suiteClass(tests) def loadTestFromModuleVariable(self, name, obj): - if isinstance(obj, (type, types.ClassType)): + if isinstance(obj, type): if issubclass(obj, TestCase): return self.loadTestsFromTestCase(obj) elif issubclass(obj, TestSuite): @@ -40,7 +40,7 @@ if issubclass(testCaseClass, TestSuite): raise TypeError("Test cases should not be derived from TestSuite. Maybe you meant to derive from TestCase?") testCaseNames = self.getTestCaseNames(testCaseClass) - return self.suiteClass(map(testCaseClass, testCaseNames)) + return self.sRefactoringTool: Refactored ./src/repoze/cssutils/common/path.py uiteClass(list(map(testCaseClass, testCaseNames))) defaultTestLoader = TestLoader() @@ -82,7 +82,7 @@ try: testmodule = __import__(testmodule.name[:-3], {}, {}, None) result.append(self.testLoader.loadTestsFromModule(testmodule)) - except StandardError: + except Exception: traceback.print_exc() sys.path.pop(0) @@ -90,7 +90,7 @@ for testpackage in testdir.dirs(): result.append(self.__class__(testpackage, self.recurse, self.testLoader)) - result = filter(None, result) + result = [_f for _f in result if _f] result.sort(self.sortTestsUsing) return self.addTests(result) @@ -139,8 +139,8 @@ self.runTests() def usageExit(self, msg=None): - if msg: print msg - print self.USAGE % {'progName': path.path(sys.argv[0]).name} + if msg: print(msg) + print(self.USAGE % {'progName': path.path(sys.argv[0]).name}) sys.exit(2) def parseArgs(self, argv): @@ -160,7 +160,7 @@ self.verbosity = 2 elif opt in ('-r','--recurse'): self.recurse = int(value) - except getopt.error, msg: + except getopt.error as msg: self.usageExit(msg) def createTests(self): --- ./src/repoze/cssutils/common/path.py (original) +++ ./src/repoze/cssutils/common/path.py (refactored) @@ -34,7 +34,7 @@ # it doesn't play nice with other types that implement # __radd__(). Test this. -from __future__ import generators + import sys, os, fnmatch, glob, shutil, codecs @@ -45,15 +45,15 @@ _base = str try: if os.path.supports_unicode_filenames: - _base = unicode + _base = str except AttributeError: pass # Pre-2.3 workaround for basestring. try: - basestring + str except NameError: - basestring = (str, unicode) + str = (str, str) # Universal newline support _textmode = 'r' @@ -393,7 +393,7 @@ For example, path('/users').glob('*/bin/*') returns a list of all the files users have in their bin directories. """ - return map(path, glob.glob(_base(self / pattern))) + return list(map(path, glob.glob(_base(self / pattern)))) # --- Reading or writing an entire file at once. @@ -457,11 +457,11 @@ t = f.read() finally: f.close() - return (t.replace(u'\r\n', u'\n') - .replace(u'\r\x85', u'\n') - .replace(u'\r', u'\n') - .replace(u'\x85', u'\n') - .replace(u'\u2028', u'\n')) + return (t.replace('\r\n', '\n') + .replace('\r\x85', '\n') + .replace('\r', '\n') + .replace('\x85', '\n') + .replace('\u2028', '\n')) def write_text(self, text, encoding=None, errors='strict', linesep=os.linesep, append=False): """ Write the given text to this file. @@ -508,7 +508,7 @@ This applies to Unicode text the same as to 8-bit text, except there are three additional standard Unicode end-of-line sequences: - u'\x85', u'\r\x85', and u'\u2028'. + u'\x85', u'\r\x85', and u'\\u2028'. (This is slightly different from when you open a file for writing with fopen(filename, "w") in C or file(filename, 'w') @@ -527,16 +527,16 @@ conversion. """ - if isinstance(text, unicode): + if isinstance(text, str): if linesep is not None: # Convert all standard end-of-line sequences to # ordinary newline characters. - text = (text.replace(u'\r\n', u'\n') - .replace(u'\r\x85', u'\n') - .replace(u'\r', u'\n') - .replace(u'\x85', u'\n') - .replace(u'\u2028', u'\n')) - text = text.replace(u'\n', linesep)RefactoringTool: No changes to ./src/repoze/__init__.py RefactoringTool: No changes to ./setup.py RefactoringTool: Refactored ./bootstrap.py RefactoringTool: Files that were modified: RefactoringTool: ./src/repoze/cssutils/tests/test_css_with_minidom.py RefactoringTool: ./src/repoze/cssutils/tests/test_css_media.py RefactoringTool: ./src/repoze/cssutils/tests/test_css_errors.py RefactoringTool: ./src/repoze/cssutils/tests/test_css_cascade.py RefactoringTool: ./src/repoze/cssutils/tests/test_css.py RefactoringTool: ./src/repoze/cssutils/parser.py RefactoringTool: ./src/repoze/cssutils/dom.py RefactoringTool: ./src/repoze/cssutils/css.py RefactoringTool: ./src/repoze/cssutils/common/testrunner.py RefactoringTool: ./src/repoze/cssutils/common/path.py RefactoringTool: ./src/repoze/__init__.py RefactoringTool: ./setup.py RefactoringTool: ./bootstrap.py + text = (text.replace('\r\n', '\n') + .replace('\r\x85', '\n') + .replace('\r', '\n') + .replace('\x85', '\n') + .replace('\u2028', '\n')) + text = text.replace('\n', linesep) if encoding is None: encoding = sys.getdefaultencoding() bytes = text.encode(encoding, errors) @@ -598,7 +598,7 @@ linesep - The desired line-ending. This line-ending is applied to every line. If a line already has any standard line ending ('\r', '\n', '\r\n', u'\x85', - u'\r\x85', u'\u2028'), that will be stripped off and + u'\r\x85', u'\\u2028'), that will be stripped off and this will be used instead. The default is os.linesep, which is platform-dependent ('\r\n' on Windows, '\n' on Unix, etc.) Specify None to write the lines as-is, @@ -619,15 +619,15 @@ f = self.open(mode) try: for line in lines: - isUnicode = isinstance(line, unicode) + isUnicode = isinstance(line, str) if linesep is not None: # Strip off any existing line-end and add the # specified linesep string. if isUnicode: - if line[-2:] in (u'\r\n', u'\x0d\x85'): + if line[-2:] in ('\r\n', '\x0d\x85'): line = line[:-2] - elif line[-1:] in (u'\r', u'\n', - u'\x85', u'\u2028'): + elif line[-1:] in ('\r', '\n', + '\x85', '\u2028'): line = line[:-1] else: if line[-2:] == '\r\n': @@ -725,10 +725,10 @@ # --- Create/delete operations on directories - def mkdir(self, mode=0777): + def mkdir(self, mode=0o777): os.mkdir(self, mode) - def makedirs(self, mode=0777): + def makedirs(self, mode=0o777): os.makedirs(self, mode) def rmdir(self): @@ -744,7 +744,7 @@ """ Set the access/modified times of this file to the current time. Create the file if it does not exist. """ - fd = os.open(self, os.O_WRONLY | os.O_CREAT, 0666) + fd = os.open(self, os.O_WRONLY | os.O_CREAT, 0o666) os.close(fd) os.utime(self, None) --- ./bootstrap.py (original) +++ ./bootstrap.py (refactored) @@ -20,13 +20,13 @@ $Id: bootstrap.py 1 2009-01-09 03:28:44Z fairwinds $ """ -import os, shutil, sys, tempfile, urllib2 +import os, shutil, sys, tempfile, urllib.request, urllib.error, urllib.parse tmpeggs = tempfile.mkdtemp() ez = {} -exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py' - ).read() in ez +exec(urllib.request.urlopen('http://peak.telecommunity.com/dist/ez_setup.py' + ).read(), ez) ez['use_setuptools'](to_dir=tmpeggs, download_delay=0) import pkg_resources + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.93085 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-repoze.cssutils-1.0a6 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python3 setup.py build running build running build_py creating build creating build/lib creating build/lib/repoze copying src/repoze/__init__.py -> build/lib/repoze creating build/lib/repoze/cssutils copying src/repoze/cssutils/parser.py -> build/lib/repoze/cssutils copying src/repoze/cssutils/dom.py -> build/lib/repoze/cssutils copying src/repoze/cssutils/css.py -> build/lib/repoze/cssutils copying src/repoze/cssutils/__init__.py -> build/lib/repoze/cssutils creating build/lib/repoze/cssutils/tests copying src/repoze/cssutils/tests/test_css_with_minidom.py -> build/lib/repoze/cssutils/tests copying src/repoze/cssutils/tests/test_css_media.py -> build/lib/repoze/cssutils/tests copying src/repoze/cssutils/tests/test_css_errors.py -> build/lib/repoze/cssutils/tests copying src/repoze/cssutils/tests/test_css_cascade.py -> build/lib/repoze/cssutils/tests copying src/repoze/cssutils/tests/test_css.py -> build/lib/repoze/cssutils/tests copying src/repoze/cssutils/tests/__init__.py -> build/lib/repoze/cssutils/tests creating build/lib/repoze/cssutils/common copying src/repoze/cssutils/common/testrunner.py -> build/lib/repoze/cssutils/common copying src/repoze/cssutils/common/path.py -> build/lib/repoze/cssutils/common copying src/repoze/cssutils/common/__init__.py -> build/lib/repoze/cssutils/common running egg_info writing src/repoze.cssutils.egg-info/PKG-INFO writing dependency_links to src/repoze.cssutils.egg-info/dependency_links.txt writing namespace_packages to src/repoze.cssutils.egg-info/namespace_packages.txt writing requirements to src/repoze.cssutils.egg-info/requires.txt writing top-level names to src/repoze.cssutils.egg-info/top_level.txt reading manifest file 'src/repoze.cssutils.egg-info/SOURCES.txt' writing manifest file 'src/repoze.cssutils.egg-info/SOURCES.txt' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.50646 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-repoze.cssutils-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-repoze.cssutils-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd python3-module-repoze.cssutils-1.0a6 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python3-module-repoze.cssutils-buildroot --force running install running install_lib Skipping installation of /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/__init__.py (namespace package) copying repoze/cssutils/__init__.py -> /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils copying repoze/cssutils/css.py -> /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils copying repoze/cssutils/dom.py -> /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils copying repoze/cssutils/parser.py -> /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils copying repoze/cssutils/common/__init__.py -> /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/common copying repoze/cssutils/common/path.py -> /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/common copying repoze/cssutils/common/testrunner.py -> /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/common copying repoze/cssutils/tests/__init__.py -> /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/tests copying repoze/cssutils/tests/test_css.py -> /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/tests copying repoze/cssutils/tests/test_css_cascade.py -> /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/tests copying repoze/cssutils/tests/test_css_errors.py -> /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/tests copying repoze/cssutils/tests/test_css_media.py -> /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/tests copying repoze/cssutils/tests/test_css_with_minidom.py -> /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/tests byte-compiling /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/__init__.py to __init__.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/css.py to css.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/dom.py to dom.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/parser.py to parser.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/common/__init__.py to __init__.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/common/path.py to path.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/common/testrunner.py to testrunner.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/tests/__init__.py to __init__.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/tests/test_css.py to test_css.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/tests/test_css_cascade.py to test_css_cascade.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/tests/test_css_errors.py to test_css_errors.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/tests/test_css_media.py to test_css_media.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze/cssutils/tests/test_css_with_minidom.py to test_css_with_minidom.cpython-39.pyc running install_egg_info running egg_info writing src/repoze.cssutils.egg-info/PKG-INFO writing dependency_links to src/repoze.cssutils.egg-info/dependency_links.txt writing namespace_packages to src/repoze.cssutils.egg-info/namespace_packages.txt writing requirements to src/repoze.cssutils.egg-info/requires.txt writing top-level names to src/repoze.cssutils.egg-info/top_level.txt reading manifest file 'src/repoze.cssutils.egg-info/SOURCES.txt' writing manifest file 'src/repoze.cssutils.egg-info/SOURCES.txt' Copying src/repoze.cssutils.egg-info to /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze.cssutils-1.0a6-py3.9.egg-info Installing /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze.cssutils-1.0a6-py3.9-nspkg.pth running install_scripts + install -d /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages + mv /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze.cssutils-1.0a6-py3.9-nspkg.pth /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib/python3/site-packages/repoze.cssutils-1.0a6-py3.9.egg-info /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/ + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-repoze.cssutils-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-repoze.cssutils-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python3-module-repoze.cssutils-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-repoze.cssutils-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-repoze.cssutils-buildroot ./usr/lib64: (from :0) ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/python3-module-repoze.cssutils-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python3 modules in /usr/src/tmp/python3-module-repoze.cssutils-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/__init__.cpython-39.pyc unlink /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/css.cpython-39.pyc unlink /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/dom.cpython-39.pyc unlink /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/parser.cpython-39.pyc unlink /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/__init__.cpython-39.pyc unlink /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/path.cpython-39.pyc unlink /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/testrunner.cpython-39.pyc compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/__init__.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/path.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py unlink /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/__init__.cpython-39.pyc unlink /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css.cpython-39.pyc unlink /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_cascade.cpython-39.pyc unlink /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_errors.cpython-39.pyc unlink /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_media.cpython-39.pyc unlink /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_with_minidom.cpython-39.pyc compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/__init__.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css_cascade.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css_errors.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css_media.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css_with_minidom.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/__init__.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/css.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/dom.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/parser.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-repoze.cssutils-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/__init__.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/path.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/__init__.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css_cascade.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css_errors.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css_media.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css_with_minidom.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/__init__.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/css.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/dom.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/parser.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-repoze.cssutils-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/__init__.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/path.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/__init__.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css_cascade.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css_errors.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css_media.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css_with_minidom.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/__init__.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/css.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/dom.py compile /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/parser.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/__init__.cpython-39.opt-1.pyc' => './usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/__init__.cpython-39.pyc' './usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/__init__.cpython-39.opt-2.pyc' => './usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/__init__.cpython-39.opt-1.pyc' './usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/dom.cpython-39.opt-1.pyc' => './usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/dom.cpython-39.pyc' './usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/__init__.cpython-39.opt-1.pyc' => './usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/__init__.cpython-39.pyc' './usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/__init__.cpython-39.opt-2.pyc' => './usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/__init__.cpython-39.opt-1.pyc' './usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/testrunner.cpython-39.opt-1.pyc' => './usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/testrunner.cpython-39.pyc' './usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/__init__.cpython-39.opt-1.pyc' => './usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/__init__.cpython-39.pyc' './usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/__init__.cpython-39.opt-2.pyc' => './usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/__init__.cpython-39.opt-1.pyc' './usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_errors.cpython-39.opt-1.pyc' => './usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_errors.cpython-39.pyc' './usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_with_minidom.cpython-39.opt-1.pyc' => './usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_with_minidom.cpython-39.pyc' Processing files: python3-module-repoze.cssutils-1.0a6-alt3 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.77464 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-repoze.cssutils-1.0a6 + DOCDIR=/usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/share/doc/python3-module-repoze.cssutils-1.0a6 + export DOCDIR + rm -rf /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/share/doc/python3-module-repoze.cssutils-1.0a6 + /bin/mkdir -p /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/share/doc/python3-module-repoze.cssutils-1.0a6 + cp -prL CHANGES.txt CREDITS.txt README.txt docs/LICENSE.txt docs/testing.txt /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/share/doc/python3-module-repoze.cssutils-1.0a6 + chmod -R go-w /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/share/doc/python3-module-repoze.cssutils-1.0a6 + chmod -R a+rX /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/share/doc/python3-module-repoze.cssutils-1.0a6 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ZNSKXX find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lPjcBU find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/lib/rpm/python3.req.py:6: DeprecationWarning: The parser module is deprecated and will be removed in future versions of Python import parser, symbol, token, types /usr/lib/rpm/python3.req.py:6: DeprecationWarning: The symbol module is deprecated and will be removed in future versions of Python import parser, symbol, token, types python3.req: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/path.py: skipping sys python3.req: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 UNABLE to determine the imported name at parse-time: testmodule /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 a form of __import__ was read which gave no deps: [274, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, '__import__', 83]], [327, [7, '(', 83], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'testmodule', 83]], [327, [23, '.', 83], [1, 'name', 83]], [327, [9, '[', 83], [328, [329, [11, ':', 83], [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [15, '-', 83], [322, [323, [324, [325, [2, '3', 83]]]]]]]]]]]]]]]]]]], [10, ']', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'None', 83]]]]]]]]]]]]]]]]]], [8, ')', 83]]]]]]]]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 UNABLE to determine the imported name at parse-time: testmodule /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 a form of __import__ was read which gave no deps: [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, '__import__', 83]], [327, [7, '(', 83], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'testmodule', 83]], [327, [23, '.', 83], [1, 'name', 83]], [327, [9, '[', 83], [328, [329, [11, ':', 83], [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [15, '-', 83], [322, [323, [324, [325, [2, '3', 83]]]]]]]]]]]]]]]]]]], [10, ']', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'None', 83]]]]]]]]]]]]]]]]]], [8, ')', 83]]]]]]]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 UNABLE to determine the imported name at parse-time: testmodule /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 a form of __import__ was read which gave no deps: [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, '__import__', 83]], [327, [7, '(', 83], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'testmodule', 83]], [327, [23, '.', 83], [1, 'name', 83]], [327, [9, '[', 83], [328, [329, [11, ':', 83], [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [15, '-', 83], [322, [323, [324, [325, [2, '3', 83]]]]]]]]]]]]]]]]]]], [10, ']', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'None', 83]]]]]]]]]]]]]]]]]], [8, ')', 83]]]]]]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 UNABLE to determine the imported name at parse-time: testmodule /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 a form of __import__ was read which gave no deps: [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, '__import__', 83]], [327, [7, '(', 83], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'testmodule', 83]], [327, [23, '.', 83], [1, 'name', 83]], [327, [9, '[', 83], [328, [329, [11, ':', 83], [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [15, '-', 83], [322, [323, [324, [325, [2, '3', 83]]]]]]]]]]]]]]]]]]], [10, ']', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'None', 83]]]]]]]]]]]]]]]]]], [8, ')', 83]]]]]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 UNABLE to determine the imported name at parse-time: testmodule /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 a form of __import__ was read which gave no deps: [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, '__import__', 83]], [327, [7, '(', 83], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'testmodule', 83]], [327, [23, '.', 83], [1, 'name', 83]], [327, [9, '[', 83], [328, [329, [11, ':', 83], [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [15, '-', 83], [322, [323, [324, [325, [2, '3', 83]]]]]]]]]]]]]]]]]]], [10, ']', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'None', 83]]]]]]]]]]]]]]]]]], [8, ')', 83]]]]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 UNABLE to determine the imported name at parse-time: testmodule /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 a form of __import__ was read which gave no deps: [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, '__import__', 83]], [327, [7, '(', 83], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'testmodule', 83]], [327, [23, '.', 83], [1, 'name', 83]], [327, [9, '[', 83], [328, [329, [11, ':', 83], [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [15, '-', 83], [322, [323, [324, [325, [2, '3', 83]]]]]]]]]]]]]]]]]]], [10, ']', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'None', 83]]]]]]]]]]]]]]]]]], [8, ')', 83]]]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 UNABLE to determine the imported name at parse-time: testmodule /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 a form of __import__ was read which gave no deps: [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, '__import__', 83]], [327, [7, '(', 83], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'testmodule', 83]], [327, [23, '.', 83], [1, 'name', 83]], [327, [9, '[', 83], [328, [329, [11, ':', 83], [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [15, '-', 83], [322, [323, [324, [325, [2, '3', 83]]]]]]]]]]]]]]]]]]], [10, ']', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'None', 83]]]]]]]]]]]]]]]]]], [8, ')', 83]]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 UNABLE to determine the imported name at parse-time: testmodule /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 a form of __import__ was read which gave no deps: [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, '__import__', 83]], [327, [7, '(', 83], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'testmodule', 83]], [327, [23, '.', 83], [1, 'name', 83]], [327, [9, '[', 83], [328, [329, [11, ':', 83], [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [15, '-', 83], [322, [323, [324, [325, [2, '3', 83]]]]]]]]]]]]]]]]]]], [10, ']', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'None', 83]]]]]]]]]]]]]]]]]], [8, ')', 83]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 UNABLE to determine the imported name at parse-time: testmodule /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 a form of __import__ was read which gave no deps: [318, [319, [320, [321, [322, [323, [324, [325, [1, '__import__', 83]], [327, [7, '(', 83], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'testmodule', 83]], [327, [23, '.', 83], [1, 'name', 83]], [327, [9, '[', 83], [328, [329, [11, ':', 83], [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [15, '-', 83], [322, [323, [324, [325, [2, '3', 83]]]]]]]]]]]]]]]]]]], [10, ']', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'None', 83]]]]]]]]]]]]]]]]]], [8, ')', 83]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 UNABLE to determine the imported name at parse-time: testmodule /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 a form of __import__ was read which gave no deps: [319, [320, [321, [322, [323, [324, [325, [1, '__import__', 83]], [327, [7, '(', 83], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'testmodule', 83]], [327, [23, '.', 83], [1, 'name', 83]], [327, [9, '[', 83], [328, [329, [11, ':', 83], [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [15, '-', 83], [322, [323, [324, [325, [2, '3', 83]]]]]]]]]]]]]]]]]]], [10, ']', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'None', 83]]]]]]]]]]]]]]]]]], [8, ')', 83]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 UNABLE to determine the imported name at parse-time: testmodule /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 a form of __import__ was read which gave no deps: [320, [321, [322, [323, [324, [325, [1, '__import__', 83]], [327, [7, '(', 83], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'testmodule', 83]], [327, [23, '.', 83], [1, 'name', 83]], [327, [9, '[', 83], [328, [329, [11, ':', 83], [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [15, '-', 83], [322, [323, [324, [325, [2, '3', 83]]]]]]]]]]]]]]]]]]], [10, ']', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'None', 83]]]]]]]]]]]]]]]]]], [8, ')', 83]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 UNABLE to determine the imported name at parse-time: testmodule /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 a form of __import__ was read which gave no deps: [321, [322, [323, [324, [325, [1, '__import__', 83]], [327, [7, '(', 83], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'testmodule', 83]], [327, [23, '.', 83], [1, 'name', 83]], [327, [9, '[', 83], [328, [329, [11, ':', 83], [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [15, '-', 83], [322, [323, [324, [325, [2, '3', 83]]]]]]]]]]]]]]]]]]], [10, ']', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'None', 83]]]]]]]]]]]]]]]]]], [8, ')', 83]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 UNABLE to determine the imported name at parse-time: testmodule /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 a form of __import__ was read which gave no deps: [322, [323, [324, [325, [1, '__import__', 83]], [327, [7, '(', 83], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'testmodule', 83]], [327, [23, '.', 83], [1, 'name', 83]], [327, [9, '[', 83], [328, [329, [11, ':', 83], [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [15, '-', 83], [322, [323, [324, [325, [2, '3', 83]]]]]]]]]]]]]]]]]]], [10, ']', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'None', 83]]]]]]]]]]]]]]]]]], [8, ')', 83]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 UNABLE to determine the imported name at parse-time: testmodule /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 a form of __import__ was read which gave no deps: [323, [324, [325, [1, '__import__', 83]], [327, [7, '(', 83], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'testmodule', 83]], [327, [23, '.', 83], [1, 'name', 83]], [327, [9, '[', 83], [328, [329, [11, ':', 83], [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [15, '-', 83], [322, [323, [324, [325, [2, '3', 83]]]]]]]]]]]]]]]]]]], [10, ']', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'None', 83]]]]]]]]]]]]]]]]]], [8, ')', 83]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 UNABLE to determine the imported name at parse-time: testmodule /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=83 a form of __import__ was read which gave no deps: [324, [325, [1, '__import__', 83]], [327, [7, '(', 83], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'testmodule', 83]], [327, [23, '.', 83], [1, 'name', 83]], [327, [9, '[', 83], [328, [329, [11, ':', 83], [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [15, '-', 83], [322, [323, [324, [325, [2, '3', 83]]]]]]]]]]]]]]]]]]], [10, ']', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [25, '{', 83], [26, '}', 83]]]]]]]]]]]]]]]]], [12, ',', 83], [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'None', 83]]]]]]]]]]]]]]]]]], [8, ')', 83]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/common/testrunner.py: line=147 IGNORE (for REQ=slight and deep=11) module=getopt python3.req: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/css.py: skipping itertools /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/css.py: line=28 IGNORE (for REQ=slight and deep=8) module=sets /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/parser.py: line=27 IGNORE (for REQ=slight and deep=8) module=sets /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/parser.py: line=341 IGNORE (for REQ=slight and deep=11) module=TG.introspection.stack Provides: python3(repoze.cssutils), python3(repoze.cssutils.common), python3(repoze.cssutils.common.path), python3(repoze.cssutils.common.testrunner), python3(repoze.cssutils.css), python3(repoze.cssutils.dom), python3(repoze.cssutils.parser) Requires: python3(repoze) < 0, python3(nose) < 0, /usr/lib64/python3/site-packages, python3(codecs) < 0, python3(fnmatch) < 0, python3(glob) < 0, python3(os) < 0, python3(re) < 0, python3(shutil) < 0, python3(traceback) < 0, python3(types) < 0, python3(unittest) < 0 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9MS1BX Processing files: python3-module-repoze.cssutils-tests-1.0a6-alt3 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Jzk28V find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.tAKJHW find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/lib/rpm/python3.req.py:6: DeprecationWarning: The parser module is deprecated and will be removed in future versions of Python import parser, symbol, token, types /usr/lib/rpm/python3.req.py:6: DeprecationWarning: The symbol module is deprecated and will be removed in future versions of Python import parser, symbol, token, types python3.req: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css.py: skipping sys python3.req: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css_cascade.py: skipping sys python3.req: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css_errors.py: skipping sys python3.req: /usr/src/tmp/python3-module-repoze.cssutils-buildroot/usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css_media.py: skipping sys Provides: python3(repoze.cssutils.tests), python3(repoze.cssutils.tests.test_css), python3(repoze.cssutils.tests.test_css_cascade), python3(repoze.cssutils.tests.test_css_errors), python3(repoze.cssutils.tests.test_css_media), python3(repoze.cssutils.tests.test_css_with_minidom) Requires: python3-module-repoze.cssutils = 1.0a6-alt3, /usr/lib64/python3/site-packages, python3(glob) < 0, python3(os) < 0, python3(repoze.cssutils) < 0, python3(repoze.cssutils.common.testrunner) < 0, python3(repoze.cssutils.css) < 0, python3(repoze.cssutils.dom) < 0, python3(unittest) < 0, python3(xml.dom.minidom) < 0 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.vbXmzV Adding to python3-module-repoze.cssutils-tests a strict dependency on python3-module-repoze.cssutils Removing 4 extra deps from python3-module-repoze.cssutils-tests due to dependency on python3-module-repoze.cssutils Removing 4 extra deps from python3-module-repoze.cssutils-tests due to repentancy on python3-module-repoze.cssutils Wrote: /usr/src/RPM/RPMS/x86_64/python3-module-repoze.cssutils-1.0a6-alt3.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/python3-module-repoze.cssutils-tests-1.0a6-alt3.x86_64.rpm (w2.lzdio) 12.36user 0.87system 0:18.28elapsed 72%CPU (0avgtext+0avgdata 62744maxresident)k 0inputs+0outputs (0major+307498minor)pagefaults 0swaps 19.14user 4.33system 0:29.11elapsed 80%CPU (0avgtext+0avgdata 110420maxresident)k 0inputs+0outputs (0major+779955minor)pagefaults 0swaps --- python3-module-repoze.cssutils-1.0a6-alt3.x86_64.rpm.repo 2019-12-12 08:49:52.000000000 +0000 +++ python3-module-repoze.cssutils-1.0a6-alt3.x86_64.rpm.hasher 2021-05-07 04:09:53.132031595 +0000 @@ -1,10 +1,10 @@ /usr/lib64/python3/site-packages/repoze 40755 -/usr/lib64/python3/site-packages/repoze.cssutils-1.0a6-py3.7.egg-info 40755 -/usr/lib64/python3/site-packages/repoze.cssutils-1.0a6-py3.7.egg-info/PKG-INFO 100644 -/usr/lib64/python3/site-packages/repoze.cssutils-1.0a6-py3.7.egg-info/SOURCES.txt 100644 -/usr/lib64/python3/site-packages/repoze.cssutils-1.0a6-py3.7.egg-info/dependency_links.txt 100644 -/usr/lib64/python3/site-packages/repoze.cssutils-1.0a6-py3.7.egg-info/namespace_packages.txt 100644 -/usr/lib64/python3/site-packages/repoze.cssutils-1.0a6-py3.7.egg-info/not-zip-safe 100644 -/usr/lib64/python3/site-packages/repoze.cssutils-1.0a6-py3.7.egg-info/requires.txt 100644 -/usr/lib64/python3/site-packages/repoze.cssutils-1.0a6-py3.7.egg-info/top_level.txt 100644 +/usr/lib64/python3/site-packages/repoze.cssutils-1.0a6-py3.9.egg-info 40755 +/usr/lib64/python3/site-packages/repoze.cssutils-1.0a6-py3.9.egg-info/PKG-INFO 100644 +/usr/lib64/python3/site-packages/repoze.cssutils-1.0a6-py3.9.egg-info/SOURCES.txt 100644 +/usr/lib64/python3/site-packages/repoze.cssutils-1.0a6-py3.9.egg-info/dependency_links.txt 100644 +/usr/lib64/python3/site-packages/repoze.cssutils-1.0a6-py3.9.egg-info/namespace_packages.txt 100644 +/usr/lib64/python3/site-packages/repoze.cssutils-1.0a6-py3.9.egg-info/not-zip-safe 100644 +/usr/lib64/python3/site-packages/repoze.cssutils-1.0a6-py3.9.egg-info/requires.txt 100644 +/usr/lib64/python3/site-packages/repoze.cssutils-1.0a6-py3.9.egg-info/top_level.txt 100644 /usr/lib64/python3/site-packages/repoze/cssutils 40755 @@ -12,14 +12,14 @@ /usr/lib64/python3/site-packages/repoze/cssutils/__pycache__ 40755 -/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/__init__.cpython-37.opt-1.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/__init__.cpython-37.opt-2.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/__init__.cpython-37.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/css.cpython-37.opt-1.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/css.cpython-37.opt-2.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/css.cpython-37.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/dom.cpython-37.opt-1.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/dom.cpython-37.opt-2.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/dom.cpython-37.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/parser.cpython-37.opt-1.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/parser.cpython-37.opt-2.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/parser.cpython-37.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/__init__.cpython-39.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/__init__.cpython-39.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/__init__.cpython-39.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/css.cpython-39.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/css.cpython-39.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/css.cpython-39.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/dom.cpython-39.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/dom.cpython-39.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/dom.cpython-39.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/parser.cpython-39.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/parser.cpython-39.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/__pycache__/parser.cpython-39.pyc 100644 /usr/lib64/python3/site-packages/repoze/cssutils/common 40755 @@ -27,11 +27,11 @@ /usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__ 40755 -/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/__init__.cpython-37.opt-1.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/__init__.cpython-37.opt-2.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/__init__.cpython-37.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/path.cpython-37.opt-1.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/path.cpython-37.opt-2.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/path.cpython-37.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/testrunner.cpython-37.opt-1.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/testrunner.cpython-37.opt-2.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/testrunner.cpython-37.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/__init__.cpython-39.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/__init__.cpython-39.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/__init__.cpython-39.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/path.cpython-39.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/path.cpython-39.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/path.cpython-39.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/testrunner.cpython-39.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/testrunner.cpython-39.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/common/__pycache__/testrunner.cpython-39.pyc 100644 /usr/lib64/python3/site-packages/repoze/cssutils/common/path.py 100644 --- python3-module-repoze.cssutils-tests-1.0a6-alt3.x86_64.rpm.repo 2019-12-12 08:49:52.000000000 +0000 +++ python3-module-repoze.cssutils-tests-1.0a6-alt3.x86_64.rpm.hasher 2021-05-07 04:09:53.165031353 +0000 @@ -3,20 +3,20 @@ /usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__ 40755 -/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/__init__.cpython-37.opt-1.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/__init__.cpython-37.opt-2.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/__init__.cpython-37.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css.cpython-37.opt-1.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css.cpython-37.opt-2.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css.cpython-37.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_cascade.cpython-37.opt-1.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_cascade.cpython-37.opt-2.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_cascade.cpython-37.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_errors.cpython-37.opt-1.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_errors.cpython-37.opt-2.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_errors.cpython-37.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_media.cpython-37.opt-1.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_media.cpython-37.opt-2.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_media.cpython-37.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_with_minidom.cpython-37.opt-1.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_with_minidom.cpython-37.opt-2.pyc 100644 -/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_with_minidom.cpython-37.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/__init__.cpython-39.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/__init__.cpython-39.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/__init__.cpython-39.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css.cpython-39.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css.cpython-39.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css.cpython-39.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_cascade.cpython-39.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_cascade.cpython-39.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_cascade.cpython-39.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_errors.cpython-39.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_errors.cpython-39.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_errors.cpython-39.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_media.cpython-39.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_media.cpython-39.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_media.cpython-39.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_with_minidom.cpython-39.opt-1.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_with_minidom.cpython-39.opt-2.pyc 100644 +/usr/lib64/python3/site-packages/repoze/cssutils/tests/__pycache__/test_css_with_minidom.cpython-39.pyc 100644 /usr/lib64/python3/site-packages/repoze/cssutils/tests/test_css.py 100644