Skip to content

Commit de06ff8

Browse files
authored
Merge pull request ojarva#90 from ojarva/fix-tests
fix tests
2 parents 909db1d + ae011d2 commit de06ff8

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/python-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
python-version: [3.6, 3.7, 3.8, 3.9]
11+
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
1212

1313
steps:
1414
- uses: actions/checkout@v2

sshpubkeys/keys.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,4 +528,4 @@ def parse(self, keydata=None):
528528
raise MalformedDataError(f"Leftover data: {len(self._decoded_key) - current_position} bytes")
529529

530530
if self.disallow_options and self.options:
531-
raise InvalidOptionsError("Options are disallowed.")
531+
raise InvalidOptionsError("Options are disallowed.")

tests/valid_keys.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,4 +226,4 @@
226226
'sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAID92A9iaZ6WS0dcc4qsxuUfMgwFuFeh48faLjYlaYXswAAAABHNzaDo=',
227227
256, 'MD5:0b:87:18:2a:09:e7:a9:77:73:cd:3d:83:83:77:ea:83', 'SHA256:Uz5X82+UKm4CiOdqnfAtV/5JfnysqPHt1Is0iGnD70g',
228228
'sk-ssh-ed25519_1', ["strict", "loose"]
229-
]]
229+
]]

0 commit comments

Comments
 (0)