Skip to content

Commit eb2e857

Browse files
committed
[ci] Reestablish compatibility with Python 2.7
Does this even make sense? ;]
1 parent 1d45d5b commit eb2e857

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
matrix:
1212
os: [ubuntu-latest, macos-latest, windows-latest]
13-
python-version: ["3.6", "3.7", "3.8", "3.9"]
13+
python-version: ["2.7", "3.6", "3.7", "3.8", "3.9"]
1414
include:
1515
- os: ubuntu-latest
1616
path: ~/.cache/pip

tests/test_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def test_config_bad_functions(caplog):
272272
with caplog.at_level(logging.DEBUG):
273273

274274
# Bootstrapping the machinery with invalid path to functions file should croak.
275-
with pytest.raises(OSError) as excinfo:
275+
with pytest.raises(IOError) as excinfo:
276276
core_bootstrap(configfile=configfile_bad_functions)
277277

278278
error_message = str(excinfo.value)

0 commit comments

Comments
 (0)