From f2e6153bf24d30c1c3acc08d3f75e440442ca48e Mon Sep 17 00:00:00 2001 From: Ruben Verweij Date: Thu, 11 Jan 2018 15:43:43 +0100 Subject: [PATCH] Fix test and update gitignore --- .gitignore | 1 + tests/test_reader.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index aa265b5..70c24d3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +*.nd2 run.py # Byte-compiled / optimized / DLL files __pycache__/ diff --git a/tests/test_reader.py b/tests/test_reader.py index 71e607f..0e4d735 100644 --- a/tests/test_reader.py +++ b/tests/test_reader.py @@ -40,4 +40,4 @@ class TestReader(unittest.TestCase): with ArtificialND2('test_data/test_nd2_reader.nd2') as _: with ND2Reader('test_data/test_nd2_reader.nd2') as reader: timesteps = reader.timesteps - self.assertEquals(timesteps, None) + self.assertEquals(len(timesteps), 0)