Skip to content

Commit

Permalink
Build universal wheels, fixed "ResourceWarning: unclosed file" in tes…
Browse files Browse the repository at this point in the history
…ts for python3 (#68)

* build universal wheels

* added tox testing

* fixed "ResourceWarning: unclosed file" in tests

* use nose for tests

* put read from stdout where it was

* use requirements.txt in tox.ini
  • Loading branch information
daa authored and dsoprea committed Sep 29, 2016
1 parent c9fbb55 commit 23267db
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Expand Up @@ -11,4 +11,5 @@
venv*
*.svn
*.idea
.coverage
.coverage
.tox
2 changes: 2 additions & 0 deletions setup.cfg
@@ -0,0 +1,2 @@
[wheel]
universal = 1
1 change: 1 addition & 0 deletions svn/common.py
Expand Up @@ -56,6 +56,7 @@ def run_command(self, subcommand, args, success_code=0,

stdout = p.stdout.read()
r = p.wait()
p.stdout.close()

if r != success_code:
raise SvnException("Command failed with (%s): %s\n%s".format(
Expand Down
6 changes: 6 additions & 0 deletions tox.ini
@@ -0,0 +1,6 @@
[tox]
envlist = py27, py34, py35

[testenv]
deps = -rrequirements.txt
commands = nosetests

0 comments on commit 23267db

Please sign in to comment.