Skip to content

Commit 0d52e44

Browse files
authored
Merge pull request #38 from spdx/fix-ci
Fix CI builds
2 parents a48022e + e17fb71 commit 0d52e44

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

circle.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
machine:
22
pre:
3+
- brew update
34
- python --version
45
- sudo -H pip install --upgrade virtualenv
56
- brew install pyenv

tests/test_document.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def test_write_document_tv_with_validate(self):
188188
try:
189189
temp_dir = tempfile.mkdtemp(prefix='test_spdx')
190190
result_file = os.path.join(temp_dir, 'spdx-simple.tv')
191-
with open(result_file, 'wb') as output:
191+
with open(result_file, 'w') as output:
192192
write_document(doc, output, validate=True)
193193

194194
expected_file = utils_test.get_test_loc(
@@ -211,7 +211,7 @@ def test_write_document_tv_with_or_later_with_validate(self):
211211
result_file = os.path.join(temp_dir, 'spdx-simple-plus.tv')
212212

213213
# test proper!
214-
with open(result_file, 'wb') as output:
214+
with open(result_file, 'w') as output:
215215
write_document(doc, output, validate=True)
216216

217217
expected_file = utils_test.get_test_loc(

0 commit comments

Comments
 (0)