Skip to content

Commit 2bf8c73

Browse files
committed
Ignore error raised from enum
Not sure this is the correct place to suppress it but... E Traceback (most recent call last): E File "/opt/python/3.8.7/lib/python3.8/enum.py", line 339, in __call__ E return cls.__new__(cls, value) E ResourceWarning: unclosed file <_io.TextIOWrapper name='_test_cgi_form/db/lock' mode='w' encoding='UTF-8'>
1 parent fc2d7dd commit 2bf8c73

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ script:
152152
-W "ignore:the imp module:DeprecationWarning:gpg.gpgme:15"
153153
-W "ignore:'U' mode::docutils.io"
154154
-W "ignore:unclosed:ResourceWarning:roundup.roundup.demo"
155+
-W "ignore:unclosed file:ResourceWarning:enum"
155156
-v --maxfail=20 test/ --cov=roundup
156157

157158
after_success:

0 commit comments

Comments
 (0)