Skip to content

Commit ce7b4f7

Browse files
committed
chore: debug tst failure on github
Can't locally reproduce this new failure in CI: # log should look like (with string not broken into parts): # [('roundup', 40, # 'Invalid self.form found (please report to the ' # 'roundup-users mailing list): []')] log = self._caplog.record_tuples[:] > self.assertIn("Invalid self.form found", log[0][2]) ^^^^^^ E IndexError: list index out of range test/rest_common.py:2325: IndexError ----------------------------- Captured stdout call ----------------------------- 2026-07-01 19:24:09,518 7l6wjqsBqOc4023oyEF3yF ERROR Invalid self.form found (please report to the roundup-users mailing list): []
1 parent d7f6f4d commit ce7b4f7

2 files changed

Lines changed: 16 additions & 15 deletions

File tree

.github/workflows/ci-test.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ jobs:
5353
python-version:
5454
# - "2.7"
5555
- "3.14"
56-
- "3.14t"
57-
- "3.13"
58-
- "3.12"
59-
- "3.10"
56+
#- "3.14t"
57+
#- "3.13"
58+
#- "3.12"
59+
#- "3.10"
6060

6161
# use for multiple os or ubuntu versions
6262
#os: [ubuntu-latest, macos-latest, windows-latest]
@@ -66,16 +66,16 @@ jobs:
6666
# if the ones above fail. fail the build
6767
experimental: [ false ]
6868

69-
include:
70-
# example: if this version fails the jobs still succeeds
71-
# allow-prereleases in setup-python allows alpha/beta
72-
# releases to run. Also allow free threaded python testing
73-
- python-version: 3.15-dev
74-
os: ubuntu-24.04
75-
experimental: true
76-
- python-version: 3.15t-dev
77-
os: ubuntu-24.04
78-
experimental: true
69+
#include:
70+
# # example: if this version fails the jobs still succeeds
71+
# # allow-prereleases in setup-python allows alpha/beta
72+
# # releases to run. Also allow free threaded python testing
73+
# - python-version: 3.15-dev
74+
# os: ubuntu-24.04
75+
# experimental: true
76+
# - python-version: 3.15t-dev
77+
# os: ubuntu-24.04
78+
# experimental: true
7979

8080
#exclude:
8181
# skip all python versions on explicit 20.04/24.04 unless
@@ -298,7 +298,7 @@ jobs:
298298
-W "ignore:'U' mode::docutils.io" \
299299
-W "ignore:unclosed:ResourceWarning:roundup.roundup.demo" \
300300
-W "ignore:unclosed file:ResourceWarning:enum" \
301-
-v test/ --cov=roundup
301+
-v -k testBadFormAttributeErrorException test/ --cov=roundup
302302
coverage lcov
303303
else
304304
# python2 case

test/rest_common.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2322,6 +2322,7 @@ def testBadFormAttributeErrorException(self):
23222322
# 'Invalid self.form found (please report to the '
23232323
# 'roundup-users mailing list): []')]
23242324
log = self._caplog.record_tuples[:]
2325+
print(log)
23252326
self.assertIn("Invalid self.form found", log[0][2])
23262327

23272328
def testDispatchBadAccept(self):

0 commit comments

Comments
 (0)