Changeset aa01d07b in sasview


Ignore:
Timestamp:
Nov 12, 2012 12:40:47 PM (11 years ago)
Author:
Mathieu Doucet <doucetm@…>
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, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
657e52c
Parents:
f368fd9
Message:

skip test if wx can't be found (we're only testing the framework)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/utest_sansview.py

    re89bb46 raa01d07b  
    1010 
    1111# Check whether we have matplotlib installed 
    12 HAS_MPL = True 
     12HAS_MPL_WX = True 
    1313try: 
    1414    import matplotlib 
     15    import wx 
    1516except: 
    16     HAS_MPL = False 
     17    HAS_MPL_WX = False 
    1718 
    1819SKIPPED_DIRS = ["sansrealspace", "calculatorview"] 
    19 if not HAS_MPL: 
     20if not HAS_MPL_WX: 
    2021    SKIPPED_DIRS.append("sansguiframe") 
    2122 
Note: See TracChangeset for help on using the changeset viewer.