From 43dd68b7a5dab16514b519e53cae3c174954d004 Mon Sep 17 00:00:00 2001 From: Chris Liechti Date: Tue, 13 Sep 2016 00:24:06 +0200 Subject: test: cleanups --- test/test_threaded.py | 4 ++-- test/test_util.py | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/test/test_threaded.py b/test/test_threaded.py index 333a5c0..40f45ad 100644 --- a/test/test_threaded.py +++ b/test/test_threaded.py @@ -18,8 +18,8 @@ import time # on which port should the tests be performed: PORT = 'loop://' -class Test_asyncio(unittest.TestCase): - """Test asyncio related functionality""" +class Test_threaded(unittest.TestCase): + """Test serial.threaded related functionality""" def test_line_reader(self): """simple test of line reader class""" diff --git a/test/test_util.py b/test/test_util.py index cd0e0fb..664340f 100644 --- a/test/test_util.py +++ b/test/test_util.py @@ -27,7 +27,6 @@ class Test_util(unittest.TestCase): self.assertEqual(list(serial.iterbytes(b'\x01\x02\x03')), [b'\x01', b'\x02', b'\x03']) - if __name__ == '__main__': import sys sys.stdout.write(__doc__) -- cgit v1.2.1