Permalink
Browse files

There shouldn't be any UserWarning from test_SeqIO.py

  • Loading branch information...
1 parent d1a3efb commit dd7342f73ae9c633c85ce7581848cfc28db38f10 @peterjc peterjc committed Jan 11, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 Tests/test_SeqIO.py
View
@@ -24,9 +24,9 @@
def send_warnings_to_stdout(message, category, filename, lineno,
- file=None, line=None):
+ file=None, line=None):
#TODO - Have Biopython DataLossWarning?
- if category in [UserWarning, BiopythonWarning]:
+ if category in [BiopythonWarning]:
print "%s - %s" % (category.__name__, message)
warnings.showwarning = send_warnings_to_stdout

0 comments on commit dd7342f

Please sign in to comment.