Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6ad83e2

Browse files
authored
try to fix pypy build (#216)
1 parent 6556d19 commit 6ad83e2

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

‎.travis.yml‎

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ cache: pip
44

55
matrix:
66
include:
7+
- os: linux
8+
python: pypy3.5-6.0
9+
env: TOXENV=pypy3
710
- python: 3.5
811
env: TOXENV=py35
912
- python: 3.6
@@ -20,12 +23,6 @@ matrix:
2023
env: TOXENV=quality
2124
- python: 3.8-dev
2225
env: TOXENV=pytest
23-
- os: linux
24-
dist: xenial
25-
python: pypy3.5-6.0
26-
env: TOXENV=pypy3
27-
services:
28-
- docker
2926

3027
before_install:
3128
- python --version

‎setup.cfg‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[bdist_wheel]
22
universal = 1
3-
python-tag = py2.py3
3+
python-tag = py3

‎tests/testsuite.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,8 @@ def test_junitxml_xsd_validation_empty_properties(self):
665665
self.assertNotIn('<properties>'.encode('utf8'), output)
666666
validate_junit_report('14c6e39c38408b9ed6280361484a13c6f5becca7', output)
667667

668+
@unittest.skipIf(hasattr(sys, 'pypy_version_info'),
669+
'skip - PyPy + lxml seems to be hanging')
668670
def test_xunit_plugin_transform(self):
669671
suite = unittest.TestSuite()
670672
suite.addTest(self.DummyTest('test_fail'))

‎tox.ini‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ testpaths = tests
44
norecursedirs = tests/django_example
55

66
[tox]
7-
envlist = begin,py{py,py3,35,36,37,38},pytest,py38-django{lts,curr},end,quality
7+
envlist = begin,py{py3,35,36,37,38},pytest,py38-django{lts,curr},end,quality
88

99
[tox:travis]
1010
3.5 = py35

‎xmlrunner/extra/xunit_plugin.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
import lxml.etree as etree
33

44

5-
TRANSFORM = etree.XSLT(etree.XML('''\
5+
TRANSFORM = etree.XSLT(etree.XML(b'''\
6+
<?xml version="1.0" encoding="UTF-8"?>
67
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
78
<xsl:output method="xml" indent="yes" />
89

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /