Skip to content

Commit

Permalink
try to fix pypy build (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
dnozay authored Feb 20, 2020
1 parent 6556d19 commit 6ad83e2
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
9 changes: 3 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ cache: pip

matrix:
include:
- os: linux
python: pypy3.5-6.0
env: TOXENV=pypy3
- python: 3.5
env: TOXENV=py35
- python: 3.6
Expand All @@ -20,12 +23,6 @@ matrix:
env: TOXENV=quality
- python: 3.8-dev
env: TOXENV=pytest
- os: linux
dist: xenial
python: pypy3.5-6.0
env: TOXENV=pypy3
services:
- docker

before_install:
- python --version
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[bdist_wheel]
universal = 1
python-tag = py2.py3
python-tag = py3
2 changes: 2 additions & 0 deletions tests/testsuite.py
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,8 @@ def test_junitxml_xsd_validation_empty_properties(self):
self.assertNotIn('<properties>'.encode('utf8'), output)
validate_junit_report('14c6e39c38408b9ed6280361484a13c6f5becca7', output)

@unittest.skipIf(hasattr(sys, 'pypy_version_info'),
'skip - PyPy + lxml seems to be hanging')
def test_xunit_plugin_transform(self):
suite = unittest.TestSuite()
suite.addTest(self.DummyTest('test_fail'))
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ testpaths = tests
norecursedirs = tests/django_example

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

[tox:travis]
3.5 = py35
Expand Down
3 changes: 2 additions & 1 deletion xmlrunner/extra/xunit_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
import lxml.etree as etree


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

0 comments on commit 6ad83e2

Please sign in to comment.