Skip to content
Snippets Groups Projects
Commit f96a131b authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Fix python 3.8 compat for header

parent c6ed7c52
No related branches found
No related tags found
No related merge requests found
Pipeline #8409 passed with warnings
......@@ -222,8 +222,8 @@ class TestOfflineReader(unittest.TestCase):
self.assertEqual(float(head['kcut']), 2)
# test the warning for unsupported fheader format
self.assertWarns(UserWarning, self.r.header,
"Your file header has an unsupported format")
with self.assertWarns(UserWarning):
self.r.header
class TestOfflineEvents(unittest.TestCase):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment