Changeset 3d29f26b in sasview for test


Ignore:
Timestamp:
Nov 9, 2016 12:53:33 PM (8 years ago)
Author:
krzywon
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
b61bd57, 484141c
Parents:
61a2a0c
Message:

Fix broken unit test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/sasdataloader/test/utest_ascii.py

    r7d94915 r3d29f26b  
    9292        """ 
    9393        # Test .ABS file loaded as ascii 
    94         f = self.loader.load("ascii_test_6.txt") 
     94        f = None 
     95        try: 
     96            f = self.loader.load("ascii_test_6.txt") 
    9597        # The length of the data is 5 
    96         self.assertEqual(f, None) 
     98        except: 
     99            self.assertEqual(f, None) 
    97100         
    98101if __name__ == '__main__': 
Note: See TracChangeset for help on using the changeset viewer.