Skip to content

Commit

Permalink
Issue NifTK#182: fixed removal of created backup file in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Dzhoshkun Ismail Shakir committed Oct 17, 2017
1 parent 1f9b8af commit a8962b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/niftynet_global_config_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,4 @@ def test_012_incorrect_config_file_backed_up(self):
self.assertEqual(backup_file.read(), incorrect_config)

# cleanup: remove backup file
NiftyNetGlobalConfigTest.remove_path(backup_file)
NiftyNetGlobalConfigTest.remove_path(found_files[0])

0 comments on commit a8962b1

Please sign in to comment.