Browse Source

Fix test and update gitignore

Ruben Verweij 7 years ago
parent
commit
f2e6153bf2
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      .gitignore
  2. +1
    -1
      tests/test_reader.py

+ 1
- 0
.gitignore View File

@ -1,3 +1,4 @@
*.nd2
run.py run.py
# Byte-compiled / optimized / DLL files # Byte-compiled / optimized / DLL files
__pycache__/ __pycache__/


+ 1
- 1
tests/test_reader.py View File

@ -40,4 +40,4 @@ class TestReader(unittest.TestCase):
with ArtificialND2('test_data/test_nd2_reader.nd2') as _: with ArtificialND2('test_data/test_nd2_reader.nd2') as _:
with ND2Reader('test_data/test_nd2_reader.nd2') as reader: with ND2Reader('test_data/test_nd2_reader.nd2') as reader:
timesteps = reader.timesteps timesteps = reader.timesteps
self.assertEquals(timesteps, None)
self.assertEquals(len(timesteps), 0)

Loading…
Cancel
Save