Skip to content

Commit 0ed485f

Browse files
committed
Correct typo in assertion message.
1 parent ee5c61e commit 0ed485f

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

gnupg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
and so does not work on Windows). Renamed to gnupg.py to avoid confusion with
2828
the previous versions.
2929
30-
Modifications Copyright (C) 2008-2024 Vinay Sajip. All rights reserved.
30+
Modifications Copyright (C) 2008-2025 Vinay Sajip. All rights reserved.
3131
3232
For the full documentation, see https://docs.red-dove.com/python-gnupg/ or
3333
https://gnupg.readthedocs.io/

test_gnupg.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"""
33
A test harness for gnupg.py.
44
5-
Copyright (C) 2008-2024 Vinay Sajip. All rights reserved.
5+
Copyright (C) 2008-2025 Vinay Sajip. All rights reserved.
66
"""
77
import argparse
88
import io
@@ -1208,7 +1208,7 @@ def test_invalid_outputs(self):
12081208
# On Ubuntu and pypy-2.7, you often get an IOError "Broken pipe"
12091209
# during the encrypt operation ...
12101210
edata = self.gpg.encrypt_file(stream, barbara, armor=False, output=badout)
1211-
self.assertEqual(2, edata.returncode, 'Unexpecteds return code')
1211+
self.assertEqual(2, edata.returncode, 'Unexpected return code')
12121212
except IOError:
12131213
pass
12141214
# on GnuPG 1.4, you sometimes don't get any FAILURE messages, in

tox.ini

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
[tox]
77
#envlist = py26, py27, py34, py35, py36, pypy
8-
envlist = py27, py38, py39, py310, py311, py312, pypy,
8+
envlist = py27, py38, py39, py310, py311, py312, py313, pypy,
99
py27gpg2, py38gpg2, py39gpg2, py310gpg2, py311gpg2, py312gpg2,
10-
pypygpg2
10+
py313gpg2, pypygpg2
1111
isolated_build = True
1212

1313
[testenv]
@@ -116,6 +116,14 @@ setenv =
116116
GPGBINARY=gpg2
117117
NO_EXTERNAL_TESTS=1
118118

119+
[testenv:py313gpg2]
120+
envdir = {toxinidir}/.tox/py313
121+
basepython = python3.13
122+
setenv =
123+
LD_LIBRARY_PATH=/home/vinay/tmp/lib
124+
GPGBINARY=gpg2
125+
NO_EXTERNAL_TESTS=1
126+
119127
passenv =
120128
HOME
121129
ENABLE_TOFU

0 commit comments

Comments
 (0)